Posts

Showing posts from September, 2019

JMeter and oAuth bearer token usage

Image
So this came up during the week.... "I need to be able to connect to a Cloud Service that uses authentication and make calls to it to get results.  I've used POSTMAN, but now I need to do some load testing, so I want to use JMeter to doing some load testing, but I cannot get it to work.  Help." Putting aside the initial chest puffing "sigh", as this was at 9pm and I had finished work and was back at my hotel, I thought to myself... "hey, why not help out"...... Turns out I had an ancient installation of JMeter from back in 2015, (must have been back in the IBM MobileFirst days), so I didn't bother to upgrade but thought I'd use that setup as-is. After taking a look at the UI for a bit, it started to come back to me and I also do remember having to setup getting access tokens for authentication way back then.  Okay, now I was hooked.  Digging through my laptop for old .jmx files and hacking about I finally solved the problem and shared