Hi again,
i have a problem by importing a HAR-File of a POST-Requests wich are processing JSON-Content:
Example:
The parameters of a JSON-Call are as follows (formatExpression is a String not JSON!):
{
“formatExpression”: “[{“type”:“pageNumber”,“format”:“1”}]”
}
after the recording and saving, the content of the HAR-File is then:
{
“content”: {
“mimeType”: “text/html”,
“text”: “{“formatExpression”:”[{\“type\”:\“pageNumber\”,\“format\”:\“1\”}]"}"
}
}
after importing the HAR-File via ‘recorder.sh’ the content in the produced SCALA-File is:
{
“formatExpression”: “[{“type”:“pageNumber”,“format”:“1”}]”
}
which is invalid JSON and should be:
{
“formatExpression”: “[{“type”:“pageNumber”,“format”:“1”}]”
}
Any help on this topic is appreciated.
Thanks.
Hartmut