Forum Discussion

kesav's avatar
kesav
Occasional Contributor
17 years ago

how to compare respones of two test steps

hi

i created two rest request and i added assertions in both the request.
now i want to compare the responses of both the requests.


regards
kesava...

2 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi!

    you mean you want to compare them to each other? The entire response or just the body?

    Anyhow, you could create an XPath Match assertion for the second request that selects the root element of the response and has

    ${Request 1#Response}

    as the expected content..

    does that suffice?

    regards!

    /Ole
    eviware.com
  • kesav's avatar
    kesav
    Occasional Contributor
    Thanks a lot
    it works fine
    ..
    i have one more question. how to use microsoft jdbc driver for sql server 2005 to insert data using data sink step



    regards
    kesava