Highlighted
Absent Member.
Absent Member.
644 views

Script will not run in Controller...

I have created a Loadrunner script (LR 12.50) using VuGen and TruClient. When I start the script in VuGen the result depends on the proxy settings:

screenshot_29.png

No proxy: The script finishes correctly.

Use system proxy settings: I get an HTTP-503 error

Use automatic configuration script (PAC)...(with an EMPTY textfield): The script finishes correctly.


 

Now I am using this script inside the controller and again I choose different proxy settings. Here are the results:

No proxy: The script runsfor 6 minutes (normaly it finishes witnin 1 minute), and gives a HTTP-503 error. The very first step was not executed.

Use system proxy settings: I get an HTTP-503 error

Use automatic configuration script (PAC)...(with an EMPTY textfield): I get the following error: AUTOMATIC proxy specified without an automatic proxy configuration (PAC) URL.

Because I cannot see what is going on in the first case, I do not know what is wrong in the No-Proxy case.


 

I have the following questions:

- How to fix this problem? How to find out about possible causes?

- Why are the behaviors different between VuGen and Controller? I expect the exact same behavior!

- Why does the Controller yield an error after 6 minutes in the NoProxy case, but it works just fine in the VuGen case?

- Why can I define a PAC without server adress in VuGen, but Controller gives me an error?

- Maybe there is some place with some configuration I need to adjust?

 

0 Likes
4 Replies
Highlighted
Absent Member.
Absent Member.

Re: Script will not run in Controller...

It is still not working, and I have no idea how to solve this problem...

0 Likes
Highlighted
Honored Contributor.
Honored Contributor.

Re: Script will not run in Controller...

Hi,

 

Use manual proxy server of your LAN in Run Time Setting and provide the proxy server and port details.

Please let me know whether you are able to execute it or not.

 

Regards,

Raghul M

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: Script will not run in Controller...

Thanks for your help, but here is the thing:

 

In the VuGen part I can verify the script is running when I choose "No Proxy". This is also what the System Administrator suggests, not to use a proxy at all. Then I have this script run in Controller, again with "No Proxy" -> Here I suddenly get into trouble as I explained in my question.

Again: In VuGen I have created a script which runs perfectly well in VuGen. Using the script with the same settings in Controller does not work! After 6 minutes of the script running in Controller I get a a HTTP-503 error!!

Looks like a bug in Controller! Controller does not seem to work as VuGen! Same script, different results! How can I fix Controller, so that te script, working in VuGen, runs in Controller the same was?

 

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Script will not run in Controller...

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.