Write a simple c code in loadrunner -
i received string "zxm6dgm6u0fntdoylja6
chjvd+jwvc2ftbha6umvzcg9uc2u+"
server response wish convert "zxm6dgm6u0fntdoylja6&%0d%0achjvd%2bjwvc2ftbha6umvzcg9uc2u%2b"
format. find difficult hence seeking help.
br, ak
i able solve using inbuilt function in loadrunner itself.
here code used:
lr_save_string("zxm6dgm6u0fntdoylja6
chjvd+jwvc2ftbha6umvzcg9uc2u+", "html_text"); web_convert_param("html_text", "sourceencoding=html", "targetencoding=url", last ); lr_output_message("converted result: %s", lr_eval_string("{html_text}"));
Comments
Post a Comment