I am scripting for a scenario where I have to book slots for an appointment and the slots are of 15 minutes duration. Suppose if I want to book an appointment from 17:00 to 17:15, then the requests in jmeter comes like this->
StartHour-17 StartMIn-00 EndHour-17 EndMinute-15
The slots can be selected by using csv config but I want to automate using beanshell/groovy in jmeter because csv is time taking while preparing test data. So is it possible to write in beanshell so that every iteration the slots get automatically incremented by 15 minutes ie the next slot that would be selected is 17:15-17:30 and the request in jmeter would be: StartHour-17 StartMIn-15 EndHour-17 EndMinute-30
I tried in beanshell but unable to get the desired results as the requests are taking in terms of start hour start min end hour and end minute.