LoadRunner Practitioners Forum

HTTP/HTML -> TruClient; conversion

Regular Contributor.

HTTP/HTML -> TruClient; conversion



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

Micro Focus Expert

Re: HTTP/HTML -> TruClient; conversion



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-knowledge-documents/td-p/6327643


Kind regards,

HPE 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 and give Kudos to the author for their assistance.
Micro Focus Expert

Re: HTTP/HTML -> TruClient; conversion



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?