Submit and vote on feature ideas.

Welcome to the new Parasoft forums! We hope you will enjoy the site and try out some of the new features, like sharing an idea you may have for one of our products or following a category.

Need help to configure script

rashmi_basate
rashmi_basate Posts: 12
edited October 2017 in Virtualize

I have saved an incoming request at a location using incoming request--> write file and then written a java code which will format a response according to dynamic incoming request.
How to configure that code in .pva/responder so that it will respond to incoming request.

Comments

  • Ireneusz Szmigiel
    Ireneusz Szmigiel Posts: 227 ✭✭✭

    Hi rasmi_basate

    could you please share the pva and java code on forum?
    As you mentioned, you have them but as I suppose you are getting error or not expected message.
    What kind of error do you see? What should be expected as response?

  • rashmi_basate
    rashmi_basate Posts: 12

    Responder is sending blank response. No error message is displayed.
    I have saved incoming request from queue. and modified the sample response according to request through java code(some of the parameters and their values from request must be sent in response). The modified response is the expected response.

  • Ireneusz Szmigiel
    Ireneusz Szmigiel Posts: 227 ✭✭✭

    Try to turn on monitoring on PVA and see the messages in Event Perspective.
    It looks like you made mistake in Java code as you see blank response.

  • rashmi_basate
    rashmi_basate Posts: 12

    Thanks.. Issue resolved