question

chintan avatar image
chintan asked Philip.Joung commented

How to configure or check spirent testcenter automation API port?

I want to use Spirent TestCenter API for some performance test automation. How can I determine which port spirent is listening on for the stcrestclient from spirent CLI or some configuration file?
Or How can I configure specific port on STC box that can listen from stcrestclient?

Currently, the python API client tries to connect on default STC port 80 and it fails.

cvadgama@smca-noc-jump:~$ python -m stcrestclient.tccsh
Enter server: 10.66.64.198
Cannot connect to STC server: 10.66.64.198:80
Spirent TestCenter (STC)automationrest
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Oleg avatar image
Oleg answered Philip.Joung commented

Pardon, I have is a related question, not an answer :).

I'd like to start experimenting with Spirent REST API; I already created an account. But where I can find the above mentioned "Getting_Started_with_REST_API.pdf"? What is that "doc set" one is supposed to download?

Thanks,

Oleg.

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Philip.Joung avatar image Philip.Joung ♦ commented ·

@Oleg , avoid asking questions in the Answer section of another post-- most of the time, these questions will likely be lost. Next time I suggest you just start up a new question.

I did a search at the top of the CSC for "stc getting started rest api" and it was the first result. Give it a go...

0 Likes 0 ·
chintan avatar image
chintan answered Philip.Joung commented

@Steve So finally I was able to narrow down the issue that my python script is not able to connect to Chassis port 40004 (default for STC automation) and this is because I don't have an STC server application running on my chassis VM.

Could you please guide which application I need to install on my linux chassis VM? Also, do I have to buy a license for that or that comes along with the STC license? Please share cost and other details as well.


1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Philip.Joung avatar image Philip.Joung ♦ commented ·

@chintan , if you need more details on purchasing a license and costs, reach out to your Spirent Sales Contact. If you don't know who that might be, try this form:

https://www.spirent.com/contactspirent

0 Likes 0 ·
chintan avatar image
chintan answered Philip.Joung commented

I don't have support license. Do I need to buy it?

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

seilersen avatar image seilersen commented ·

You should be able to create an account on the CSC and download the doc set without license.

0 Likes 0 ·
Philip.Joung avatar image Philip.Joung ♦ commented ·

FYI that everyone posting here on the Forums has a CSC User account. :)

0 Likes 0 ·
chintan avatar image
chintan answered seilersen commented

I have 10.66.64.198 as a Linux VM. Which application I have to install on it? Also, from where can I download stcweb or Lab-server? Do I need to purchase seperate licenses for those?

1 comment
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

seilersen avatar image seilersen commented ·

Once you have a login to http://support.spirentcom.com/ you can download the doc set and look at Getting_Started_with_REST_API.pdf

0 Likes 0 ·
seilersen avatar image
seilersen answered Philip.Joung converted comment to answer

Please open a SR by emailing question to support@spirent.com

Note: The Spirent Chassis is "not" a ReST-API server, you would need to use stcweb or a Lab-Server (note the stcweb or Lab-Server is not a spirent chassis either)

2 comments
10 |950

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

seilersen avatar image seilersen commented ·

Please open a Service Request by email "support@spirent.com" or create a Login on webstite http://support.spirentcom.com/

0 Likes 0 ·
seilersen avatar image seilersen commented ·

The form is really only good for one line responses

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.