Answered question

Howto replace dynamic parts in a binary POST request content?

Hi all,
while I'm trying to design a NL user path for our SAP Fiori web application I did run in trouble.
I can't replace the dynamic parts of the binary request content of the POST requests.

How can I replace a string within an extracted binary request POST-Parameter-Content?
There is an "Edit" checkbox and I can check it to modify the content. But after typing "${" there is no tooltip for variable selection - nothing happens.

By using the User Path validity check I can see that the name of the variable instead of its value was sent.

Example with a simple predefined text - to be sure that the variable itself is valid:
${constText} == "HALLOOOO" (see attachement pls.)

In the POST request I used this variable "constText" at two places:
A) Header - content type
B) Content - POST parameter content

In the case of "A" it works. Also there is the variable selection tooltip after typing "${".
In the case of "B" it doesn't work. There is no replacement (see attachement pls.).

It would be nice to get hints from you ;-)
Regards,
Niko

Niko M.
Niko M.

Niko M.

Level
0
65 / 100
points
Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

I've noticed that sometimes Neoload is identifying text as binary, you just need to change the post type to text

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful

Other answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

highlighted in green

Niko M.
Niko M.

Niko M.

Level
0
65 / 100
points

Yeeah, That's it.
I changed the request content to text and let NL convert it and then the variable selection tooltip is working, too.
Neil, thank you very very much.
Niko