Rest API loadrunner script issue in json body

68 views
Skip to first unread message

abc

unread,
Dec 6, 2017, 10:01:14 AM12/6/17
to LoadRunner

I have recorded a rest script using http/html protocol  but getting below error

XSD_SCHEMA_ERROR","message":"Schema Error occurred".

I am passsing json data in the body.

"Body={\"debitCardIdentifier\": {\"cardSequenceNumber\": \"234\",\"cardType\" :\"Plastic\",\"accountId\" :\"NL63ABNA0248580647\"},\"actionInitiator\" :{\"userId\" :\"N789054\",\"customerId\" :\"1234567\"},\"reason\" : \"AccountBlocked\",\"statusNotification\" :\"true\"}",LAST);

Mital Majmundar

unread,
Dec 11, 2017, 12:32:55 PM12/11/17
to LR-Loa...@googlegroups.com
Can you try creating the REST request with the help of SOAP UI and validating it there once. It might be that you are missing some tags or something similar. Because the error message says error in schema.


 
Mital Majmundar

--
You received this message because you are subscribed to the Google Groups "LoadRunner" group.
To unsubscribe from this group and stop receiving emails from it, send an email to LR-LoadRunner+unsubscribe@googlegroups.com.
To post to this group, send email to LR-Loa...@googlegroups.com.
Visit this group at https://groups.google.com/group/LR-LoadRunner.
To view this discussion on the web visit https://groups.google.com/d/msgid/LR-LoadRunner/994663d5-b933-41ba-90ab-e3c95887f69f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages