clamp-orchestrator / clamp-core

A microservices flow orchestrator and workflow manager.
https://clamp-orchestrator.github.io/clamp-orchestrator/
MIT License
9 stars 4 forks source link

Service request creation fails if done immediately after workflow creation #94

Closed sivachandran closed 3 years ago

sivachandran commented 3 years ago

Describe the bug Service request creation fails if done immediately after creating its workflow.

To Reproduce The issue can be reproduced by running the benchmark script CreateServiceRequestSimulation without the one-second delay between CreateWorkflowScenario and CreateServiceRequestScenario.

Expected behavior When workflow creation API returns successfully(i.e., 200 OK) then its service request creation should succeed without requiring any delay in-between.

Desktop (please complete the following information):

sivachandran commented 3 years ago

Further analysis revealed that Gatling was executing the CreateWorkflow and CreateServiceRequest scenarios parallel and it was the reason for 404 error. Now Gatling script is changed to execute the scenarios sequentially.