JMeter plugin for extracting Drupal form values for fields form_id, form_build_id, form_token for further requests.
-
Compile > sbt package-bin
-
Copy generated package to JMETER_HOME/lib/ext
-
Copy scala-library.jar to JMETER_HOME/lib
The Drupal Form Extractor allows the user to extract hidden Drupal form fields: form_id, form_build_id, form_token from a server response. As a post-processor, this element will execute after each Sample request in its scope, extracting values as into variables:
- FORM_ID
- FORM_BUILD_ID
- FORM_TOKEN
Attribute | Description | Required |
---|---|---|
Name | Descriptive name for this element that is shown in the tree. | No |
Form ID | The ID of tag <form> which contains required fields. This value is required if several forms exist on the page. | If page contains two or more forms. |
Variable Prefix | Unique prefix for variables: FORM_ID, FORM_BUILD_ID, FORM_TOKEN. Variable with prefix looks like PREFIX_FORM_ID. | No |