HTTP/HTML -> TruClient; conversion (78 Views)
Reply
Occasional Advisor
radekq
Posts: 13
Registered: ‎11-19-2013
Message 1 of 3 (78 Views)

HTTP/HTML -> TruClient; conversion

Hello,

 

Is there any possibility to import script code written in HTTP/HTML protocol into the TruClient solution? For example using evaluate c function or in any other way?

 

Thanks in advance

Please use plain text.
HP Expert
vmanolova
Posts: 405
Registered: ‎05-24-2012
Message 2 of 3 (65 Views)

Re: HTTP/HTML -> TruClient; conversion

Hi,

 

If you want to convert a Web(http/html)  protocol script into TruClient script the answer is no. TruClient is working on a GUI base level and you should record your business process in the TruClient browser.

 

Using C functions in TruClient should be done only as an exception. If you need to insert some logic in your TruClient script it is better to use JavaScript functions and evaluate JavaScript step.  

 

Link to a document explaining "How to call external C and JavaScript functions in TruClient protocol" and additional information about working with TruClient is available in the following post: http://h30499.www3.hp.com/t5/LoadRunner-Support-Customer/LR-Support-Tip-Ajax-TruClient-Videos-and-kn...

 

Kind regards,

HP Support
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
Please use plain text.
HP Expert
JerryYin
Posts: 95
Registered: ‎08-16-2011
Message 3 of 3 (57 Views)

Re: HTTP/HTML -> TruClient; conversion

Hi,

 

May I know why do you want to convert http/html to TruClient? And what kind of C code do you want to insert to TruClient?

 

Thanks

Jerry

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