Highlighted
Contributor.. Contributor..
Contributor..
759 views

Howto switch flag "Use WinInet replay instead of Sockets" in Action.c

Jump to solution

In the runtime settings, under "Internet Protocol" --> "Preferences" you can enable or disable the flag "Use WinInet replay instead of Sockets (Windows only)" in the chapter "Advanced". Is it possible to do this at runtime in the code (e.g. in Action.c)?

0 Likes
1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Howto switch flag "Use WinInet replay instead of Sockets" in Action.c

Jump to solution

Hi, 

you can't modify Runtime Settings when script's running on Controller: if you open the script itself and change some options from VuGen, these modification will not be directly imported on Controller. Once the test is end, from Controller you can refresh the script and the Runtime Settings clicking on the right button, select "Details -> Refresh -> Script / Runtime Settings". So, you can't modify script's configuration during a load test. 

Lorenzo

View solution in original post

3 Replies
Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor

Re: Howto switch flag "Use WinInet replay instead of Sockets" in Action.c

Jump to solution

Thank you for your question, however WinINET flag configuration is not supported on script/API level.

May I ask what is the use case you need this option on script level?

 

0 Likes
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Re: Howto switch flag "Use WinInet replay instead of Sockets" in Action.c

Jump to solution

Hi, 

you can't modify Runtime Settings when script's running on Controller: if you open the script itself and change some options from VuGen, these modification will not be directly imported on Controller. Once the test is end, from Controller you can refresh the script and the Runtime Settings clicking on the right button, select "Details -> Refresh -> Script / Runtime Settings". So, you can't modify script's configuration during a load test. 

Lorenzo

View solution in original post

Highlighted
Contributor.. Contributor..
Contributor..

Re: Howto switch flag "Use WinInet replay instead of Sockets" in Action.c

Jump to solution

I just have different URL's to test, which have the need of a different setted flag "Use WinInet replay instead of Sockets.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.