Skip to content
Advertisement

How to write a doIf block in Gatling with 2 conditions

I want to write a doIf block which checks if either “studentPersonalRefId” OR “teacherAssignmentRefId” are null. If so, output a message that something is null. Otherwise, continue with the “getCanvasAssignments” requests:

JavaScript

Is something similar to this possible?

Advertisement

Answer

JavaScript
Advertisement