Thursday, 5 June 2025

Postman : How to run Collection Runner using data from a CSV file

 I would like to show the steps involved in passing dynamic values to your API requests while executing the request from Collection Runner.

In my example, I am having the employee ID's in a csv file and I want to pass the employee ID's as parameters to the API requests.


Step1: Create a collection in your postman with you Request.

Step2: Specify the parameter as a environment variable in your requests. In my case I am specifying the parameter value as  {{EmployeeID}}

       Note:- These variables are case sensitive


Step3: Create  csv file with the column name same as the variable name


Step 4: Click on the "Runner" option in your postman. I am using the Desktop version of postman.


Step5: Drag your collection to the Runner. If you have multiple request in your collect, select only the ones you want to run



Step6: Select the csv file you have created before. You can see that the iterations gets updated to the number of records in your file. Also Specify the delay between the runs if you want.




Step7: Click on Run (the button will be renamed to Run <<CollectionName>>)

Now you can see results and click on each execution to see the output of those.



Hope this helps someone. Let me know if you have any questions or a better way of doing this.


Reference  : Test your API using the Collection Runner



Feel free to point out if anything is missing/wrong in this blog

Monday, 19 October 2020

Open JMX Console for Wildlfy Server in a Windows machine

This post is to explain how to open the JMX Console when you are running Wildfly Server in a Windows box. I have used this option to check the Heap Space usage.

"The JMX subsystem registers a service with the Remoting endpoint so that remote access to JMX can be obtained over the exposed Remoting connector.

This is switched on by default in standalone mode and accessible over port 9990 but in domain mode is switched off so needs to be enabled - in domain mode the port will be the port of the Remoting connector for the WildFly instance to be monitored.

To use the connector you can access it in the standard way using a service:jmx URL"

I have used the below to access the jConsole from the host machine (Windows machine) itself.

1. Open the jconsole.bat from the bin folder.




2. Select the Remote access Option

3. Enter the URL as 'service:jmx:remote+http://localhost:9990' and click on Connect




This will open the JMX Console.

Ref : JMX subsystem configuration

         Connecting to a remote WildFly Server in Standalone Mode




Monday, 4 May 2015

Failure Configuring Windows Updates. Reverting Changes. Do not turn off your Computer.

The got the below error message when automatic Windows update was running in a Windows 7 which was running in a parallels VM in mac.
"Failure Configuring Windows Updates. Reverting Changes. Do not turn off your Computer."

There could be various reasons for this error to come up. You can google for this and find many reasons. For me, it was a specific one. I found the solution in some blog/forum, but I cannot find that one now, so thought of adding that to my blog.

Reason: 
There was an external hard disk attached to the machine.

Fix:
Remove the external devices and restart the Windows.

Feel free to point out if anything is missing/wrong in this blog. 

Sunday, 3 May 2015

You are running VMware Player through an incompatible hypervisor.

Recently I tried to run a VMWare image inside a Windows VM which is running on a Parallels in a Macbook Pro.

I accessed the Windows VM from mac using Parallels. Then I tried to access a VMWare image from the Windows using a VMWare Player. When I tried to run the VMWare Image, I got the below error:
"You are running VMware Player through an incompatible hypervisor.  You cannot power on a virtual machine until this hypervisor is disabled."

Fix:
Open the .vmx file in a text editor and add the below line at the end.
 vmx.allowNested = "TRUE"  

Ref: VMWare Community: Running Nested VMs

Feel free to point out if anything is missing/wrong in this blog.