Editing readonly field in JMeter



  • I am recording web application with an readonly field in it, using JMeter. I want to edit the read only field or change the value of it using jmeter and run the test case. Can this possible?



  • As per HTML readonly Attribute guide

    The readonly attribute can be set to keep a user from changing the value until some other conditions have been met (like selecting a checkbox, etc.). Then, a JavaScript can remove the readonly value, and make the input field editable.

    JMeter neither parses HTML nor executes JavaScript, it acts on a protocol level. So just record your use case via JMeter HTTP Proxy Server, determine how the input is being passed in HTTP Request (I bet it will be a POST request) and change it's value in recorded sampler.


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2