-
New Feature Request
-
Resolution: Duplicate
-
Trivial
-
None
-
3.4.8rc1
-
None
-
S24-W24/25, S24-W28/29, S24-W36/37
-
1
Edit macro variables values extracted from web page in successive POST request using function "replace(<what>,<to_what>)"
It can be realized like already existing urlencode/urldecode ({{macro}.urlencode()}) :{{macro}.replace(<what_sub_str>,<to_what_sub_str>)}
Example:
=====
POST request #1 returned the following text (JSON):
--------
---------
We define macro variable
In second web step we need to use value of {SOMEVAR}
as "someurlpart/someurlpart/someurlpart/someurlpart/". Now it can't be archived, but with implementation of "replace(<>,<>)" function it could be easily done by {{SOMEVAR}.replace("
","")}
=====
- duplicates
-
ZBXNEXT-9208 New macro functions, web scenario improvements
- Closed
- mentioned in
-
Page Loading...