Service Virtualization

 View Only
  • 1.  TCP Playback issue

    Posted Apr 28, 2016 03:02 AM

    Hi all,

    We have recorded the TCP traffic in VSE recorder and we have written the custom code to convert the binary to text and split up the request arguments to match the inbound request, using java script step manipulated the response and saved in testExec.setStateValue(“property name”,vsiresponse”) property and we have changed VSI response editor into text and applied the same property {{= property name;/*default value*/}} but the property name is not substituted with the value, we have also added the “lisa.magic.string.xml.tags=true “parameter in local.properties file but no use. Kindly help to resolve the problem

    Raised the support case # 00368408

    DevTest version: 9.0

    Message format: fixed length binary

     

    Thanks,

    Balamurugan.



  • 2.  Re: TCP Playback issue

    Posted Dec 18, 2016 07:30 AM

    Hi Balamurugan,

    Did you got answer to your query? As iam also working on recording tcp traffic.have similar kind issue.



  • 3.  Re: TCP Playback issue
    Best Answer

    Posted Dec 19, 2016 04:40 AM

    Hi Suniti, 

    I have added the below line to get the value from response.

    String theBody = testExec.parseInState(lisa_vse_response.getBodyText());

     

    Regards,

    Balamurugan.



  • 4.  Re: TCP Playback issue

    Posted Dec 20, 2016 06:54 AM

    Thank you Balamuruganravir