question

dclaar avatar image
dclaar Suspended asked dclaar Suspended posted

Default session ignored

I created a procedure, and set the Default session to tclsh. I pasted some lines into it from a different routine. iTest thinks that these lines are of type http! This is on 4.0.1.

 

Granted, a previous procedure in the testcase opened gms_http as type http, but that's a different procedure...

iTestbug
10 |950

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

1 Answer

·
KumarS avatar image
KumarS answered KumarS posted

Session ids association with session type is kept in a global cache per testcase. In this case, since gms_http is not a variable, its association with HTTP is kept for the testcase and therefore you will see this behaviour across procedures.

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.