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.

How can I create a responder which sends back the exact request as a response?

shlp
shlp Posts: 2

How can I create a responder which sends back the exact request as a response?

Best Answer

  • [Deleted User]
    [Deleted User] Posts: 0 admin
    Answer ✓

    Hi shlp,

    This is quite easy to do! All you need to do is create a responder with a Text Data Bank chained to the incoming response. Create an extraction there with no bounds and give the extraction a variable name. Once you have that, put your variable name in the responder's payload in ${Variable_name} notation.

    I have attached a .pva file here that does exactly this, all you need to do is rename the extension from .txt to .pva and import into Virtualize.

    I hope this helps!

Answers

  • shlp
    shlp Posts: 2

    Awesome ! It worked . Thank you very much