Not able to edit working ASM monitor having POST data
search cancel

Not able to edit working ASM monitor having POST data

book

Article ID: 223530

calendar_today

Updated On:

Products

CA App Synthetic Monitor

Issue/Introduction

We have a running ASM 'HTTP' monitor with POST body data. That is running fine but when we're saving it without any changes, it is showing error "Value is invalid" (attached screenshot).

FYI: we haven't modified anything in this request data section. Just opened the running monitor and clicked on save.

 

Environment

Release : SAAS

Component :

Cause

The problem is that the new binary data format is not supported on the old OPMS stations. Binary data format was added in 10.7 and monitor was tested on 10.6. Binary data is base64 encoded in the database and decoded on the OPMS. That's also a response to the question how to interpret the data when they uncheck the binary checkbox.
 
 

Resolution

 
1) in text form as query string:
key1=value1&key2=value2
 
2) in text form separated by new lines:
key1=value1
key2=value2
 
3) anything else must be provided as binary data:
3.1) check binary checkbox - the request data text area will be replaced with an upload button
3.2) upload the data from the file
 
The request is rejected because the values in not in the form 1) or 2), they must use the binary form 3)