Functional Testing 09: Life in a Beanshell

Ninth in a series focusing on using JMeter for functional testing of an API.

In the last tutorial we jumped through some hoops in order to be able to extra one folderid from a list of folders. Some of the decision we made would end up causing us problems later on. For instance, the way we extracted a folderid would require us to provide a folderIndex every time we used GetFolders. Since that may not always be the case, it would actually require us to do more work in the instance when we didn’t need to extract a folderid.

In this tutorial, we will replace some of what we did last time with a BeanShell object and write a little bit of Java too.

Continue reading “Functional Testing 09: Life in a Beanshell”