Quantcast
Channel: LoadRunner Practitioners Forum topics
Viewing all articles
Browse latest Browse all 3978

How to test REST API using LR?

$
0
0
How to test REST API using LR?
 

I would like to use LoadRunner to test REST API 

Could anyone please share your experiences and give me some advices?

i tried  Load testing of a REST API, using HP LoadRunner’s(HTTP/HTML protocal) web_custom_request( ) method but i got XSD_VALIDATION_FAIl , please advice me?

Please find the below code for your reference.


        web_custom_request("Add yms-appointment", 
        "URL=http://192.168.68.242:2019/ywc-1.0/services/yms/appointment", 

       
          "Method=POST", 
        "Resource=0", 
        "EncType=application/xml", 
        "Mode=HTTP",
        "BodyFilePath=sample.xml",
        LAST);
    
    
    

 

Thanks,

Sivanjan BV


Viewing all articles
Browse latest Browse all 3978

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>