Re: Load runner Ajax true client protocol script with Javascript & c code. (1955 Views)
Reply
Established Member
Akshay123456
Posts: 3
Registered: ‎08-13-2013
Message 1 of 5 (2,024 Views)

Load runner Ajax true client protocol script with Javascript & c code.

[ Edited ]

Hello Experts,


I have recorded one application in VUgen/Loadrunner with Ajax true client protocol.

The script is enhanced with c code & if loop.

Script will firstly look for an host name & then conditional statement in the loop will get executed.

I have done some the manual proxy setting with which "IF" condition is gets executed.

But my "else" condition fails.
(Added "exception IP" under proxy setting should execute else statement).

 

Please find attached screenshots for proxy setting under Loadrunner/Vugen.


Can anyone help me for any alternate solution.

Please let me know for more explaination....


Best Regards,

Akshay....

HP Expert
KMadan
Posts: 1,079
Registered: ‎05-27-2009
Message 2 of 5 (1,955 Views)

Re: Load runner Ajax true client protocol script with Javascript & c code.

It looks like the IP representation is incorrect in the snapshot for "dontnot use proxy .. ."

Madan
Established Member
Akshay123456
Posts: 3
Registered: ‎08-13-2013
Message 3 of 5 (1,950 Views)

Re: Load runner Ajax true client protocol script with Javascript & c code.

Hey Thanks Madan,

 

Actually it was wrong screenshot I placed by mistakenly.

 

I am putting the correct IP but the result are the same,

Means replay fails at else condition..

 

Please suggest.

 

Regards,

 

Akshay

HP Expert
KMadan
Posts: 1,079
Registered: ‎05-27-2009
Message 4 of 5 (1,940 Views)

Re: Load runner Ajax true client protocol script with Javascript & c code.

It is very difficult to understand without looking at the script. Please provide the script you are working with to understand the problem.


Madan
Established Member
Akshay123456
Posts: 3
Registered: ‎08-13-2013
Message 5 of 5 (1,933 Views)

Re: Load runner Ajax true client protocol script with Javascript & c code.

Hello Madan,

 

Thanks for your help.

 

I am attaching the script here.

 

Please have a look at it & let me know for more elaboration.

 

Best Regards,

 

 Akshay.

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.