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 to get the response header in scripts?

LegacyForum
LegacyForum Posts: 1,664 ✭✭
edited December 2016 in SOAtest
How can get the response headers of the test in my pyton script? What Api to use?
thanks
Rama
Tagged:

Comments

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

    You can simply add a Method Tool to the Response Header. The header will then be the input of the Method Tool.
    Using input.toString() will give you the String representation of the header.

    ~Joe
  • LegacyForum
    LegacyForum Posts: 1,664 ✭✭

    Hello,

    You can simply add a Method Tool to the Response Header. The header will then be the input of the Method Tool.
    Using input.toString() will give you the String representation of the header.

    ~Joe

    thanks you
    Rama