MCPcopy Create free account

hub / github.com/basdijkstra/rest-assured-workshop / functions

Functions124 in github.com/basdijkstra/rest-assured-workshop

↓ 2 callersMethodgetCity
()
src/test/java/dataentities/Address.java:30
↓ 1 callersMethodgetAccounts
()
src/test/java/dataentities/AccountResponse.java:12
↓ 1 callersMethodgetFirstName
()
src/test/java/dataentities/Customer.java:33
↓ 1 callersMethodgetLastName
()
src/test/java/dataentities/Customer.java:41
↓ 1 callersMethodgetTitle
()
src/test/java/dataentities/Photo.java:30
MethodAccount
()
src/test/java/dataentities/Account.java:11
MethodAccountResponse
()
src/test/java/dataentities/AccountResponse.java:9
MethodAddress
()
src/test/java/dataentities/Address.java:10
MethodCustomer
()
src/test/java/dataentities/Customer.java:12
MethodPhoto
()
src/test/java/dataentities/Photo.java:11
MethodcaptureAndReuseUserId
()
src/test/java/examples/RestAssuredExamplesTest.java:150
MethodcheckCountryForFirstCar
()
src/test/java/examples/RestAssuredExamplesXmlTest.java:13
MethodcheckFirstNameAndLastNameForCustomerIDs
Transform these tests into a single ParameterizedTest, using a CsvSource data source with three test data rows: ------------------------------------ c
src/test/java/answers/RestAssuredAnswers2Test.java:49
MethodcheckModelForSecondCar
()
src/test/java/examples/RestAssuredExamplesXmlTest.java:35
MethodcheckNameForUser
(int userId, String expectedUserName)
src/test/java/examples/RestAssuredExamplesTest.java:105
MethodcheckTheListContainsOneJapaneseCar
()
src/test/java/examples/RestAssuredExamplesXmlTest.java:46
MethodcheckTheListContainsTwoCarsWhoseMakeStartsWithAnA
()
src/test/java/examples/RestAssuredExamplesXmlTest.java:57
MethodcheckYearForLastCar
()
src/test/java/examples/RestAssuredExamplesXmlTest.java:24
MethodcreateRequestSpec
()
src/test/java/examples/RestAssuredExamplesTest.java:197
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers5Test.java:30
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers3Test.java:16
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers7Test.java:22
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers4Test.java:17
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers2Test.java:18
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers6Test.java:22
MethodcreateRequestSpecification
()
src/test/java/answers/RestAssuredAnswers1Test.java:18
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises5Test.java:29
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises2Test.java:19
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises1Test.java:18
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises3Test.java:16
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises7Test.java:22
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises4Test.java:17
MethodcreateRequestSpecification
()
src/test/java/exercises/RestAssuredExercises6Test.java:18
MethodcreateResponseSpec
()
src/test/java/examples/RestAssuredExamplesTest.java:173
MethoddeserializeJsonToAddress
()
src/test/java/examples/RestAssuredExamplesTest.java:233
MethoddeserializeJsonToAddressWithoutInitialChecks
()
src/test/java/examples/RestAssuredExamplesTest.java:251
MethodfromUserId_findPhotoTitle_expectPariaturSuntEveniet
()
src/test/java/answers/RestAssuredAnswers7Test.java:32
MethodfromUserId_findPhotoTitle_expectPariaturSuntEveniet
()
src/test/java/exercises/RestAssuredExercises7Test.java:32
MethodgetAccountsForCustomer12212AsXml_checkBalanceOfThirdAccount_shouldBe4321
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the balanc
src/test/java/answers/RestAssuredAnswers4Test.java:62
MethodgetAccountsForCustomer12212AsXml_checkBalanceOfThirdAccount_shouldBe4321
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the balanc
src/test/java/exercises/RestAssuredExercises4Test.java:59
MethodgetAccountsForCustomer12212AsXml_checkIdOfFirstAccount_shouldBe12345
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the ID of
src/test/java/answers/RestAssuredAnswers4Test.java:38
MethodgetAccountsForCustomer12212AsXml_checkIdOfFirstAccount_shouldBe12345
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the ID of
src/test/java/exercises/RestAssuredExercises4Test.java:38
MethodgetAccountsForCustomer12212AsXml_checkNumberOfAccountIdsStartingWith5_shouldBe2
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the list c
src/test/java/answers/RestAssuredAnswers4Test.java:110
MethodgetAccountsForCustomer12212AsXml_checkNumberOfAccountIdsStartingWith5_shouldBe2
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the list c
src/test/java/exercises/RestAssuredExercises4Test.java:101
MethodgetAccountsForCustomer12212AsXml_checkNumberOfCheckingAccounts_shouldBe3
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the list c
src/test/java/answers/RestAssuredAnswers4Test.java:85
MethodgetAccountsForCustomer12212AsXml_checkNumberOfCheckingAccounts_shouldBe3
Perform a GET request to /xml/customer/12212/accounts to get the list of accounts associated with customer 12212 in XML format Assert that the list c
src/test/java/exercises/RestAssuredExercises4Test.java:79
MethodgetAccountsForCustomer12212_deserializeIntoList_checkListSize_shouldEqual3
Perform an HTTP GET to /customer/12212/accounts and deserialize the response into an object of type AccountResponse after checking that the response s
src/test/java/answers/RestAssuredAnswers5Test.java:76
MethodgetAccountsForCustomer12212_deserializeIntoList_checkListSize_shouldEqual3
Perform an HTTP GET to /customer/12212/accounts and deserialize the response into an object of type AccountResponse Using a JUnit assertEquals() meth
src/test/java/exercises/RestAssuredExercises5Test.java:67
MethodgetAddress
()
src/test/java/dataentities/Customer.java:49
MethodgetAlbumId
()
src/test/java/dataentities/Photo.java:14
MethodgetBalance
()
src/test/java/dataentities/Account.java:37
MethodgetFruitDataById_checkFruitNameAndTreeName
Transform this Test into a ParameterizedTest, using a CsvSource data source with three test data rows: --------------------------------- fruit id | fr
src/test/java/answers/RestAssuredAnswers6Test.java:104
MethodgetFruitDataById_checkFruitNameAndTreeName
Transform this Test into a ParameterizedTest, using a CsvSource data source with three test data rows: --------------------------------- fruit id | fr
src/test/java/exercises/RestAssuredExercises6Test.java:90
MethodgetFruitData_checkFruitAndTreeName_shouldBeAppleAndMalus
Create a new payload for a GraphQL query using a HashMap and the specified query (with hardcoded ID) POST this object to /graphql Assert that the na
src/test/java/answers/RestAssuredAnswers6Test.java:47
MethodgetFruitData_checkFruitAndTreeName_shouldBeAppleAndMalus
Create a new payload for a GraphQL query using a HashMap and the specified query (with hardcoded ID) POST this object to /graphql Assert that the na
src/test/java/exercises/RestAssuredExercises6Test.java:43
MethodgetId
()
src/test/java/dataentities/Customer.java:25
MethodgetId
()
src/test/java/dataentities/Photo.java:22
MethodgetId
()
src/test/java/dataentities/Account.java:21
MethodgetPhoneNumber
()
src/test/java/dataentities/Customer.java:57
MethodgetSsn
()
src/test/java/dataentities/Customer.java:65
MethodgetState
()
src/test/java/dataentities/Address.java:38
MethodgetStreet
()
src/test/java/dataentities/Address.java:22
MethodgetThumbnailUrl
()
src/test/java/dataentities/Photo.java:46
MethodgetTokenUsingBasicAuth_extractFromResponse_thenReuseAsOAuthToken
Perform a GET request to /token and pass in basic authentication details with username 'john' and password 'demo'. Extract the value of the 'token' e
src/test/java/answers/RestAssuredAnswers3Test.java:39
MethodgetTokenUsingBasicAuth_extractFromResponse_thenReuseAsOAuthToken
Perform a GET request to /token and pass in basic authentication details with username 'john' and password 'demo'. Extract the value of the 'token' e
src/test/java/exercises/RestAssuredExercises3Test.java:39
MethodgetType
()
src/test/java/dataentities/Account.java:29
MethodgetUrl
()
src/test/java/dataentities/Photo.java:38
MethodgetUserData_verifyName_shouldBeLeanneGraham
()
src/test/java/examples/RestAssuredExamplesTest.java:31
MethodgetUserData_verifyStatusCodeAndContentType
()
src/test/java/examples/RestAssuredExamplesTest.java:68
MethodgetZipCode
()
src/test/java/dataentities/Address.java:46
MethodlogAllRequestData
()
src/test/java/examples/RestAssuredExamplesTest.java:42
MethodlogAllResponseData
()
src/test/java/examples/RestAssuredExamplesTest.java:54
MethodpostAccountObject_checkResponseHttpStatusCode_expect201
Create a new Account object with 'savings' as the account type POST this object to /customer/12212/accounts Verify that the response HTTP status cod
src/test/java/answers/RestAssuredAnswers5Test.java:49
MethodpostAccountObject_checkResponseHttpStatusCode_expect201
Create a new Account object with 'savings' as the account type POST this object to /customer/12212/accounts Verify that the response HTTP status cod
src/test/java/exercises/RestAssuredExercises5Test.java:48
MethodpostCustomerObject_checkReturnedFirstAndLastName_expectSuppliedValues
Create a new Customer object by using the constructor that takes a first name and last name as its parameters Use a first name and a last name of you
src/test/java/answers/RestAssuredAnswers5Test.java:110
MethodpostCustomerObject_checkReturnedFirstAndLastName_expectSuppliedValues
Create a new Customer object by using the constructor that takes a first name and last name as its parameters Use a first name and a last name of you
src/test/java/exercises/RestAssuredExercises5Test.java:90
MethodrequestAccountsForCustomer12212_checkListOfAccountsIDs_expectContains12345
Send a GET request to /customer/12212/accounts and check that the list of accounts returned includes an account with ID 12345 Use the GPath expressio
src/test/java/answers/RestAssuredAnswers1Test.java:133
MethodrequestAccountsForCustomer12212_checkListOfAccountsIDs_expectContains12345
Send a GET request to /customer/12212/accounts and check that the list of accounts returned includes an account with ID 12345 Use the GPath expressio
src/test/java/exercises/RestAssuredExercises1Test.java:115
MethodrequestAccountsForCustomer12212_checkListOfAccountsIDs_expectDoesNotContain99999
Send a GET request to /customer/12212/accounts and check that the list of accounts returned does not include an account with ID 99999 Use the GPath e
src/test/java/answers/RestAssuredAnswers1Test.java:154
MethodrequestAccountsForCustomer12212_checkListOfAccountsIDs_expectDoesNotContain99999
Send a GET request to /customer/12212/accounts and check that the list of accounts returned does not include an account with ID 99999 Use the GPath e
src/test/java/exercises/RestAssuredExercises1Test.java:133
MethodrequestAccountsForCustomer12212_checkListOfAccountsIDs_expectSize3
Send a GET request to /customer/12212/accounts and check that the list of account IDs returned is a collection of size 3 Use the GPath expression "ac
src/test/java/answers/RestAssuredAnswers1Test.java:175
MethodrequestAccountsForCustomer12212_checkListOfAccountsIDs_expectSize3
Send a GET request to /customer/12212/accounts and check that the list of account IDs returned is a collection of size 3 Use the GPath expression "ac
src/test/java/exercises/RestAssuredExercises1Test.java:151
MethodrequestDataForCustomer12212_checkAddressCity_expectBeverlyHills
Send a GET request to /customer/12212 and check that the city where the person associated with this customer ID is living is 'Beverly Hills'. Use the
src/test/java/answers/RestAssuredAnswers1Test.java:112
MethodrequestDataForCustomer12212_checkAddressCity_expectBeverlyHills
Send a GET request to /customer/12212 and check that the city where the person associated with this customer ID is living is 'Beverly Hills'. Use the
src/test/java/exercises/RestAssuredExercises1Test.java:97
MethodrequestDataForCustomer12212_checkContentType_expectApplicationJson
Send a GET request to /customer/12212 and check that the Content-Type header of the response has value 'application/json'
src/test/java/answers/RestAssuredAnswers1Test.java:67
MethodrequestDataForCustomer12212_checkContentType_expectApplicationJson
Send a GET request to /customer/12212 and check that the Content-Type header of the response has value 'application/json'
src/test/java/exercises/RestAssuredExercises1Test.java:61
MethodrequestDataForCustomer12212_checkFirstName_expectJohn
Send a GET request to /customer/12212 and check that the first name of the person associated with this customer ID is 'John'. Use the GPath expressio
src/test/java/answers/RestAssuredAnswers1Test.java:91
MethodrequestDataForCustomer12212_checkFirstName_expectJohn
Send a GET request to /customer/12212 and check that the first name of the person associated with this customer ID is 'John'. Use the GPath expressio
src/test/java/exercises/RestAssuredExercises1Test.java:79
MethodrequestDataForCustomer12212_checkNames_expectJohnSmith
Transform these tests into a single ParameterizedTest, using a CsvSource data source with three test data rows: ------------------------------------ c
src/test/java/exercises/RestAssuredExercises2Test.java:50
MethodrequestDataForCustomer12212_checkResponseCode_expect200
Send a GET request to /customer/12212 and check that the response has HTTP status code 200
src/test/java/answers/RestAssuredAnswers1Test.java:32
MethodrequestDataForCustomer12212_checkResponseCode_expect200
Send a GET request to /customer/12212 and check that the response has HTTP status code 200
src/test/java/exercises/RestAssuredExercises1Test.java:32
MethodrequestDataForCustomer12323_checkNames_expectSusanHolmes
()
src/test/java/exercises/RestAssuredExercises2Test.java:63
MethodrequestDataForCustomer14545_checkNames_expectAnnaGrant
()
src/test/java/exercises/RestAssuredExercises2Test.java:76
MethodrequestDataForCustomer99999_checkResponseCode_expect404
Send a GET request to /customer/99999 and check that the answer has HTTP status code 404
src/test/java/answers/RestAssuredAnswers1Test.java:49
MethodrequestDataForCustomer99999_checkResponseCode_expect404
Send a GET request to /customer/99999 and check that the answer has HTTP status code 404
src/test/java/exercises/RestAssuredExercises1Test.java:46
MethodserializeAddressToJson
()
src/test/java/examples/RestAssuredExamplesTest.java:219
MethodsetAccounts
(List<Account> accounts)
src/test/java/dataentities/AccountResponse.java:16
MethodsetAddress
(Address address)
src/test/java/dataentities/Customer.java:53
MethodsetAlbumId
(int albumId)
src/test/java/dataentities/Photo.java:18
MethodsetBalance
(double balance)
src/test/java/dataentities/Account.java:41
next →1–100 of 124, ranked by callers