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.

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

Options
shlp
shlp Posts: 2

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

Best Answer

  • Thomas Moore
    Thomas Moore Posts: 82 admin
    Answer ✓
    Options

    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
    Options

    Awesome ! It worked . Thank you very much