Re: Load runner Ajax true client protocol script with Javascript & c code. (1592 Views)
Reply
Member
Akshay123456
Posts: 3
Registered: ‎08-13-2013
Message 1 of 5 (1,661 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....

Please use plain text.
HP Expert
KMadan
Posts: 1,075
Registered: ‎05-27-2009
Message 2 of 5 (1,592 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
Please use plain text.
Member
Akshay123456
Posts: 3
Registered: ‎08-13-2013
Message 3 of 5 (1,587 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

Please use plain text.
HP Expert
KMadan
Posts: 1,075
Registered: ‎05-27-2009
Message 4 of 5 (1,577 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
Please use plain text.
Member
Akshay123456
Posts: 3
Registered: ‎08-13-2013
Message 5 of 5 (1,570 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.

Please use plain text.
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