This is a migrated thread and some comments may be shown as answers.

Load Testing Data driven on Json value

1 Answer 101 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
siva
Top achievements
Rank 1
siva asked on 13 May 2015, 12:41 PM

Hi,

In Load Testing I Edited the json content(Serial number-Primary Key) value in the Captured Traffic POST Element.

After I run with the Edited value, the Database gets affected. The respective data stored in the database(Oracle) Table.

Next i have tried with Data driven (using EXCEL Sheet. I am not getting any error. But there was no affect in Database.Values not stored in the Database Table.

I am not sure whether the Excel Data column value that I was Replaced in the json script correct format.

So tell me how to replace the content value with the Excel column value.

Herewith I have attached you the reference screenshots.

Thanks
Saravanan

1 Answer, 1 is accepted

Sort by
0
Cody
Telerik team
answered on 15 May 2015, 01:50 AM
Hi Saravanan,

I am sorry for the confusion but that's not how you data drive a load test. It does not support hacking of our JSON data and using the $[ ] format. You must follow these instructions to data drive your load test.

Unfortunately you will run into another problem... load tests do not support data driving JSON data. It can only drive query string parameters and HTML data having a keyword = value format. We have an open feature request to add this ability in the future.


Regards,
Cody
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
siva
Top achievements
Rank 1
Answers by
Cody
Telerik team
Share this question
or