Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Problem while Running JMeter Scripts for updating the record  RSS feed

 
Kapil More
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have created a JMeter scripts for updating a Record. Now out of 10 field i am only updating 2 fields, so to preserve the value of other fields i have added pre-processor element HTML Link Parser under the Save Request and kept .* as the value of those Fields whose value i want to preserve.

1. Throw request for Opening Page to edit the record. --> This will open the page which will display a value of existing fields in text box.
2. Throw request for saving above record with some modifications. --> i have added HTTP Link Parser under this request.

Now when i run the script instead of passing the original value it passes .* as value of the fields.

I know that HTML Link Parser looks the response data of immediate previous request and I have make sure that in my scripts.

So can any one help me why this problem occurs.
 
Surya Suravarapu
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A bit difficult to answer without knowing the functionality. However, I don't think you need HTML Link Parser functionality here. Even if it is an update, the form will have all the values necessary to perform the action (correct me if I am wrong). So you don't need any parser or .* kind of functionality, right?

For the edit/update scenarios you just need to make sure that you get the appropriate id of the object (that you're trying to update) from the previous requests.

- SPS
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!