authorjapps / zerocode-hello-world

Zerocode YAML and JSON based declarative steps hello world rest api testing example - soap, database
https://github.com/authorjapps/zerocode
MIT License
18 stars 40 forks source link

"Load testing- Git Hub GET API" fails. #31

Closed arkadiusz97 closed 1 year ago

arkadiusz97 commented 1 year ago

Test case "Load testing- Git Hub GET API" in class TestGitGubEndPoint fails because of changes in GitHub API. I will create pull request soon.

*Response delay:257.0 milli-secs 
---------> Expected Response: <----------
Assumed Payload: 
{
  "status" : 200,
  "body" : {
    "login" : "octocat",
    "id" : 583231,
    "avatar_url" : "https://avatars3.githubusercontent.com/u/583231?v=4",
    "type" : "User",
    "name" : "The Octocat",
    "company" : "GitHub"
  }
}
Assertion Errors: 
Assertion jsonPath '$.body.avatar_url' with actual value 'https://avatars.githubusercontent.com/u/583231?v=4' did not match the expected value 'https://avatars3.githubusercontent.com/u/583231?v=4'
Assertion jsonPath '$.body.company' with actual value '@github' did not match the expected value 'GitHub'

-done-
arkadiusz97 commented 1 year ago

PR: https://github.com/authorjapps/zerocode-hello-world/pull/32