Printer FriendlyEmail Article Link

Spirent TestCenter: How to know what is the STC version my Lab Server is running through console?

Environment/Versions
  • Lab Server
  • Console CMD
  • Power Shell
Answer
OPTION 1:
  1. Connect to your Lab Server
  2. Use admin/spt_admin as user and password
  3. Go to Shell Access from the panel (Option 6)
  4. Run this command to get STC version
    • docker exec -ti $(docker ps -q) /bin/cat /home/testcenter/server/STCVersion.txt
 
 
OPTION 2:
  1. Another way is to install the python REST client (pip install -U stcrestclient)
  2. Run the "stcinfo" command
> stcinfo 10.109.119.235
stc_version: 4.82.2886.0000
supported_api_versions: ['1']
time: Sat 10 Feb 2018 04:01:51 UTC
stcapi_version: 2.2.5


 
OPTION 3:
  1. Open any version of Session Manager GUI
  2. Try to connect to your Lab Server
    • If GUI connect without complaining and you are able to create a sesion, you can be sure the LS version running is exactly the same as the GUI version you opened
    • If GUI complains with an error, that error will indicates what's the current verision your LS is running:

Product : LabServer,Spirent TestCenter