Integration test stage is failing with 500

My intergration stage is failing, here is the logs

  • bash integration-test.sh

31523

http://devsecops-demo.eastus.cloudapp.azure.com:31523//increment/99

Increment Test Failed

script returned exit code 1

On my VM I run the curl command and it returns 500 error
root**@****devsecops-clou**curl localhost:31523/increment/99

{“timestamp”:“2024-02-17T19:25:15.041+00:00”,“status”:500,“error”:“Internal Server Error”,“message”:“”,“path”:"/increment

Also Service is running
root@devsecops-cloud:~$ kubectl get svc
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
devsecops-svc NodePort 10.98.25.222 8080:31523/TCP 6d3h

Pods are running
root@devsecops-cloud:~$ kubectl get po
NAME READY STATUS RESTARTS AGE
devsecops-5b5bbf445b-2pwcm 1/1 Running 0 174m
devsecops-5b5bbf445b-gzmtb 1/1 Running 0 168m

I am not sure what else I should check?
Thanks

Is this a lab exercise or from a KodeKloud playground? Error 500 suggests something has gone wrong in the app.

It is Demo - Integration Tests in DevSecOps section course. It is https://beta.kodekloud.com/user/courses/devsecops-kubernetes-devops-security/module/877bd662-968c-40a5-bda6-a42b600ea957/lesson/92c36009-3a0b-4321-afd5-b9dc4d60bb74
I am running my VM on Kubernetes and I my previous stages have been executed successfully