Forum Discussion
Perform monitor HTTP Post
Hi, all your help is appreciated.
One of our customer need to perform an advanced monitor based in HTTP Post.
This is the query POST, he say that in SOAPUI works, but we need to implement in the F5
Query: POST http://192.168.159.17:7003/Gateway-web/rest/complexproduct HTTP/1.1\r\nAccept-Encoding: gzip,deflate\r\nContent-Type: application/json\r\nContent-Length: 266\r\nHost: 192.168.159.17:7003\r\nConnection: Keep-Alive\r\nUser-Agent: Apache-HttpClient/4.1.1 (java 1.5)\r\n\r\n{ "channelId": 1, "externalTransacionId": "TEST_ANDRES", "comment": "TEST_ANDRES", "allOrNothing": true, "orderRequestDetail": [ { "subscriberId": "94552850", "productId": 8000, "quantity": 1, "orderType": "ACTIVATE" } ]}
Response: HTTP/1.1 200 OK\r\nDate: Mon, 31 Aug 2015 23:57:49 GMT\r\nTransfer-Encoding: chunked\r\nContent-Type: application/json\r\n\r\n{"transactionID":"891bc657-2d6e-4282-8e30-ac34d3d95fae","code":0,"message":"Operation Successful","orderResponseDetail":[{"productId":"8000","responseCode":0,"responseDescription":"Operation successful","parameters":{"parameter":[{"name":"BPMN_RESPONSE_CODE","value":"0"},{"name":"BPMN_RESPONSE_MESSAGE","value":"SUCCESSFUL"},{"name":"returnValue"}]}}]}
Thanks
2 Replies
- Gudalam
Nimbostratus
I am having the same issue, can anyone help on this.. Hi,
You can use a script based on curl and reference it in an external monitor
Or using a standard http monitor :
POST /form.cgi HTTP/1.1\r\nHost: host.domain.com\r\nConnection: Close\r\n\r\nFirst=Jo&Last=Co
More info here: https://support.f5.com/kb/en-us/solutions/public/13000/300/sol13397.html
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com