First most recommended action is to use some JSON format Validator - i.e.-
http://jsonlint.com/
http://jsonlint.com/
First most recommended action is to use some JSON format Validator - i.e.-
http://jsonlint.com/
0 Comments
Sometimes the value you want to pass as parameter, contains special characters i.e. space, comma, Quotes "" etc. i.e. [{"employeeName":"VARUN YADAV","country":"IN",..............
In such case you get difficulty parameterizing such value using normal DAT file parameter type. I prefer TAB delimited because the value itself contains commas. Using CSV - When use CSV or dat you get errors in Loadrunner, something like this- "Error line 2 contains 9 columns while expecting 7 columns" now review the data per column in the parameter list in vugen. You would notice that the data in data row is split at some point in two columns while expecting it to remain in one. this is because of comma or spaces in the value. Using TAB delimited - 1. keep the master excel files for further modification in data and regenerating other formats. 2. then save-as to a TAB delimited with TXT extension. 3. At this point close excel without saving (you have already saved everything). The parameter wizard will let you select the txt file name; otherwise rename it to a DAT after you close excel and before you open vugen. |
AuthorVARUN YADAV ArchivesCategories
All
|