Jmeter Data Extraction from File


When we talking about Performance Testing, Some time we faces the scenario like we have to extract data from file. Extraction data from file is very important part of performance testing.

First of all we will create a .xlsx file. which consist our test data.

testdata1

Now we open the jmeter and make a http request. Here we defined the path where our file is located also we defined the View Results Tree Listener.

http request

Now we run the jmeter script and see the result.

resultdata

We are getting the result and when we go in response data tab its unreadable response

now we go document part and see the response.

tikaapp

Now we can see that tika-app jar file is missing.So we download the tika-app jar file and placed inside the lib folder.

Again we run the script.

testresult

Advertisements
This entry was posted in JMeter, LoadTesting, Performance Testing, Scala, Test and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s