test with Response Transport Header - diff

LegacyForumLegacyForum Posts: 1,669 ✭✭
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

  • LegacyForumLegacyForum Posts: 1,669 ✭✭
    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
Sign In or Register to comment.