Idea ID: 2875315

Vugen to handle UFT-8 for Multi-Byte characters

Status: Waiting for Votes

Situation:

When using RestAPI UI(right click - insert - [Rest API]) to test the steps containing Chinese characters,it works well.

But after clicking the [insert steps] and testing by Vugen, as Vugen is using ANSI so if the receiving server is in Chinese UTF8, the steps fail with error code 415/400 because Chinese characters got corrupt.

Workaround : modify Encoding=UTF8 in .usr file and Encoding=UTF/UTF8InputOutput=1 in default.cfg

Expectation:

Though there is workaround available, it takes time to modify files for each script.

Request Vugen to have a more effective way to handle UFT-8 for Multi-Byte characters.

(e.g: add an option to use UTF-8 in the runtime setting)

If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • Thanks for the suggestion.

    When the receiving server is not using UTF8, customer still needs to change the parameter back even with the template. 

    The customer's expectation is to have an easier way like by UI to change the encoding used by Vugen script.

    If you found this post useful, give it a “Like” or click on "Verify Answer" under the "More" button

  • Hi, the issue is not relevant to any specific APIs.

    you can add the changes into template files(e.g. \LoadRunner\template\qtweb) , in this way, new created scripts will contain your changes by default.