🔘Pynt for JMeter

Integrate Pynt with Go to enhance API security testing. Automate security scans within your JMeter test suites to detect and mitigate vulnerabilities effectively.

What is JMeter?

💡 JMeter is a widely-used open-source tool for load testing and performance measurement of web applications and APIs. It simulates a high number of users interacting with an application, helping developers assess scalability and performance. JMeter supports various protocols, including HTTP, FTP, JDBC, and more, making it a versatile tool for testing the robustness and stability of applications under heavy load conditions.


Pynt's integration with JMeter

As part of its API security testing suite, Pynt integrates seamlessly with JMeter, enabling automated security testing alongside performance assessments.

If you use JMeter for your API performance tests, you can utilize pynt command to run API Security tests from these performance tests.


Quick start

  1. First, make sure Pynt's prerequisites are met.

  2. Follow the instructions to install Pynt container here.

  3. To integrate Pynt with JMeter, use the following command:

pynt command --cmd "./jmeter -E http -H 127.0.0.1 -P 6666 -n -t <your jmx file>"

This command directs JMeter to execute the specified test plan (test.jmx) in non-GUI mode and logs the results to results.jtl.

The -E http -H 127.0.0.1 -P 6666 parameters tell JMeter to direct its traffic to the proxy started by the pynt command during scanning.

Continue with the below example.


Example

  1. Download goat.jmx example from here or get it:

wget https://raw.githubusercontent.com/pynt-io/pynt/main/goat_functional_tests/goat.jmx
  1. Run it with Pynt:

pynt command --cmd "jmeter -E http -H 127.0.0.1 -P 6666 -n -t goat.jmx"

💡 Pynt CLI Troubleshooting: If you're encountering issues with Pynt's CLI, visit the Pynt CLI Troubleshooting Guide for solutions and troubleshooting tips.

💡 Still Need Help? For any questions or troubleshooting, reach out to the Pynt Community Support.

Last updated