2021 most complete Python interface test automation tutorial [learning materials attached]

[Abstract] interface definition: interface generally has two meanings. One is API (Application Programming Interface), which is a set of definitions, programs and protocols to realize the mutual communication between computer software through API interface. The other is interface, which is a specification of object-oriented languages such as ja ...

Posted by daredevil88 on Thu, 28 Oct 2021 00:09:07 -0700

REST Assured 71 - Compare JSON Arrays Using JSONassert Library

REST Assured series summary REST Assured 71 - Compare JSON Arrays Using JSONassert Library introduce API testing, sometimes you need to compare two JSON. For example, if we want to return the same result from an API every time, or part of the response body result is unchanged, we can directly compare the existing JSON response s, eliminating ...

Posted by smoked1 on Wed, 06 Oct 2021 17:55:14 -0700

REST Assured 58 - What Is JsonPath And How To Create It For Simple And Nested JSON Object?

REST Assured series summary REST Assured 58 - What Is JsonPath And How To Create It For Simple And Nested JSON Object? introduce If you know something about XPath, it's easier to understand JsonPath. The difference is that XPath represents the path to a node in an XML document, while JsonPath represents the path to a node in a JSON document. ...

Posted by Zeceer on Sun, 03 Oct 2021 19:48:42 -0700

REST Assured 48 - How To Pass Headers In Rest Assured Requests

REST Assured series summary 48 - how to pass headers in rest assured requests prerequisite Add rest assured dependency package <!-- REST Assured --> <dependency> <groupId>io.rest-assured</groupId> <artifactId>rest-assured</artifactId> <version>4.4.0</version> </dependency> Wh ...

Posted by leoden on Tue, 21 Sep 2021 04:56:18 -0700

REST Assured 37 - @JsonInclude Annotation – ignore fields with Null & Empty Values in Payload

REST Assured series summary REST Assured 37 - @JsonInclude Annotation – ignore fields with null & empty values in Payload Jackson libray is an important annotation @JsonInclude, which can clear the properties with default value, null and empty. This article will learn about ignoring null and empty attributes in paylaod. Maven Depend ...

Posted by Infinitus 8 on Sun, 12 Sep 2021 18:52:01 -0700