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.

test with Response Transport Header - diff

Options
LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
fails if order of headers is different
I'm using Messaging client for HTTP requests (working in SOAtest 5.1.1). I need to analyze a response body and headers. In my case headers can come in different order or some of them can be omitted. Could you suggest a convenient way to check the existence of predefined set of headers in response? Headers may be presented in different order.
Tagged:

Comments

  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭
    Options
    Hello,

    For this, you should be able to use an XML Transformer to Extract the Header in a certain order. The output of the Transformer will be ordered by the order of the configuration, thus "Header A" will come out of the Transformer first regardless of what order it comes in at in the response.

    Thanks,
    ~Joe

Tagged