New to Scala so please point out improvements if you see them!
So I can get Gatling running fairly complex tests, got a good handle on checks etc. Now I am trying to split Workflows out into their own objects, so I can mix and match.
Issue:
I can’t figure out how to pass values savedAs from Checks across objects.
I want to put workflows into objects so I can chain them
Auth
CreateItem
EditItem
DeleteItem
but to do that I need to pass Ids from one Object to the Next. In the above. I create an item, I need to extract that item (via a check) and pass it to the next object.
Here is some code from my project. I have a simulation class and then the workflows and such are in another class. They all work standalone, but no idea how to pass the ids across.
Help?? Thanks? Help??
Michael