Trusted Contributor.
Trusted Contributor.

Post - Get Script

Hi Guys,

      I am trying to do the POST - GET  Script using Vugen.  

     When i do a POST I get the following resposne in the Output Log file of Vugen 

t=783ms: 212-byte response headers for "http://XXXX/interactionhub/rest/v1/Breadcrumb/Action" (RelFrameId=1, Internal ID=1)
Action.c(3): HTTP/1.1 201 Created\r\n
Action.c(3): Server: Apache-Coyote/1.1\r\n
Action.c(3): Location: http://XXXX/interactionhub/rest/v1/Breadcrumb/Action/578f8cb2338
Action.c(3): d357135450dc4\r\n
Action.c(3): Content-Length: 0\r\n
Action.c(3): Date: Wed, 20 Jul 2016 14:37:37 GMT\r\n
Action.c(3): \r\n


I need to do a check the HTTP Code 201 and also do a GET on Location parameter . 

Kindly help

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.