Skip to main content

JMeter Visual Studio Plugin

There is a Visual Studio Plugin for JMeter
https://marketplace.visualstudio.com/items?itemName=EmtecInc.JMeterTestExplorer&ssr=false#overview 

It was created in 2018, and hasn't been updates since 2019. So some JMeter 5.1.1 features seem to be missing or not able to recognize. It has no concept of Controllers. Which our tests are wrapped in a lot of controllers. We did that for Result grouping in the generated Results pages, and the Dashboard that can be generated as well.

Another caveat this plugin has is that it needs the .jmx Test file to be in the solution you have open. Which all our testing files and resource files are outside of the Solution, but in the repository...

Anyways the download and install of the Plugin is extremely simple. Once installed all you need to do is go to Tools and down to JMeter Test Explorer
image.png

It'll prompt you with a file explorer asking for the JMeter.Bat file, which is found in the unpacked directory for JMeter/Bin folder.

Should open a window like this, may need to hit the refresh window
image.png

When expanding the tree for "Utopia" you'll see this (minus the green check circle)
image.png

If we restructure the Test so that we have no controllers, then the "Thread Group" should be expandable and able to see User Defined Variables and Samplers. The Samplers will be our HTTP Requests, and the User Defined Variables are configuration Properteries/Variables we can use instead of hardcoding everything into the Samplers. If we do hit the Blue arrow and run the test, it'll Save a .CSV file to the Test's location with the results, along with load up a window in Visual Studio showing the results in a simple styled tabled.

If we don't restructure the Test, then the only benefit we have here with this Plugin is a quick link to open the test to run in JMeter GUI. Which is the little "Red Gradient" feather icon.