Wednesday, August 19, 2009

Siebel SWECount

This post refers to the usage of the Siebel_SWECount variable in LoadRunner scripts.
It is very easy to identify that loadrunner scripts for Siebel-Web are composed mainly for submit calls followed by a web_url call. The behavior of the Siebel-SWECount is adding 1 before the submit, substracting 1 after the submit, and then adding 2 after the url.

Simulation:

Siebel_SWECount += 1;
web_submit(...);
Siebel_SWECount -= 2;
web_url(...);
Siebel_SWECount -= 3;

This will provide the increment for the following submit without having to add it again.
This behavior is not always used in loadrunner. Which means that is not a rule, as some urls dont require the substraction of the Siebel_SWECount.

Does anybody have found an answer for this?

Regards!

No comments:

Post a Comment