question

amichaels avatar image
amichaels asked amichaels answered

REST Session Timeout

I have a testcase that opens a rest session and makes a request. In some instances, the rest step keeps going, but never times out, even after a few hours. This seems like a bug to me. None of the step or session profile timing properties have been changed from the default.

iTestresttimeouts
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.

amichaels avatar image amichaels ♦ commented ·

Even after setting the step timeout to 10 seconds and expected duration to 1 sec, the step never times out.

0 Likes 0 ·

1 Answer

·
amichaels avatar image
amichaels answered

A wireshark trace revealed that the device was sending a constant stream of TCP keepalives to iTest, so from iTest's perspective, there was no timeout event occurring.

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.