Automate Rest API test and integrate this with Continuous Integration(CI-Jenkins)

后端 未结 3 790
情深已故
情深已故 2021-01-02 01:20

I found many similar questions related to this, but not the particular answer I am looking for. Actually my requirement is little different, so I end up posting the followin

3条回答
  •  孤独总比滥情好
    2021-01-02 01:34

    The RestAssured code you have posted will work just fine for basic cases. It's not necessarily the "right tool" if you want to:

    • continuously add new test case and don't have many resources
    • propogate alerts with well-formed error messages (especially to places like Slack or GitHub)
    • reduce false-positives
    • re-use the same tests for monitoring

    Building these features takes time and resources which, depending on the size of your team may or may not be a good call.

    Some of the commercial solutions you posted can solve some of these problems for you.

    Assertible is a codeless solution that supports the workflow you described directly: https://assertible.com/blog/automated-api-testing-with-jenkins

提交回复
热议问题