question

baburajiv avatar image
baburajiv asked ToddL answered

tc $t->apply fails with [RT:ERROR] Error returned from Tcl server: stcerror in perform:failed to subscribe

If a script having two test cases first tc $t->apply works fine,where as 2nd tc $t->apply fails with `[RT:ERROR] Error returned from Tcl server: stcerror in perform:failed to subscribe` What code to be added to perl script to overcome this?
iTestSpirent TestCenter (STC)
4 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.

nagesh_gm avatar image nagesh_gm commented ·
Could you please provide the test-report,test-cases and the session profile.Which will help us to debug the issue.
1 Like 1 ·
baburajiv avatar image baburajiv commented ·
i am facing the issue while executing stc::perform resultclearalltraffic -portlist {port1 port2}
0 Likes 0 ·
baburajiv avatar image baburajiv commented ·
[RT:ERROR] Error returned from Tcl server: stcerror in perform:failed to subscribe
0 Likes 0 ·
rmehlinger avatar image rmehlinger commented ·
Hi baburajiv, Like Nagesh said, if you could provide the test case, report, and session profile, that would be very helpful.
0 Likes 0 ·

1 Answer

·
ToddL avatar image
ToddL answered
This command (stc::perform resultclearalltraffic) does not attempt to subscribe to anything at all - it just clears results on the listed ports. The error message is about unsubscribing. Are there any other commands being used before the second apply?
10 |950

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

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.