Blog

  • Service Test 11: How To Set HTTP Request Headers & Get HTTP Response Headers

    Posted on July 13, 2012 by Admin

    Recently one of our clients asked if it was possible to set HTTP Request Headers  and retrieve HTTP Response Headers in Service Test 11 for REST and SOAP activities. The test case began by executing an activity to authenticate and retrieve an authentication token, and that token had to be passed in an authentication header for every remaining activity. This is all possible in Service Test 11.20 – let’s take a look at how it’s done.
    Setting HTTP Request Headers
    SOAP Activities

    For SOAP activities, C# code can be added to e Read Entire Entry