#7. |Rest Assured Framework| Create JSON Payload As String & Map|

  Рет қаралды 8,413

Retarget Common

Retarget Common

Күн бұрын

Пікірлер: 15
@durgamrajesh9827
@durgamrajesh9827 Жыл бұрын
thank you so much! Very nicely explained. Waiting for the next video. 🤞
@shankarlingam4702
@shankarlingam4702 Жыл бұрын
Doing great job brother stay blessed 👏
@pritamsharma9957
@pritamsharma9957 Жыл бұрын
Hi Amod, thanks again, for the very helpful videos. Hope you'd add a few videos related to different kinds of generic response parsing methods for the framework.
@RetargetCommon
@RetargetCommon Жыл бұрын
Noted
@sandeepkokane9549
@sandeepkokane9549 Жыл бұрын
Thanks
@SumanKumar-mn5sg
@SumanKumar-mn5sg 8 ай бұрын
Just a suggestion .. you are using black them in eclise, due to this its not visible properly . You can change it to bright color
@johnlin9880
@johnlin9880 6 ай бұрын
Hey Amod, thank you for taking your time out to sharing your knowledge, am trying to search for a template engine solution, like having a template of the json payload without the actual test date, and passing the test date from a csv file instead, and replacing the values before sending the request. I tried to search , but couldnt find any. Like a template file { "name": "{{NameVariable}}", "job": "" } csv file: userID,NameVariable,jobVariable 1,Amod, Tester json file created { "userID", 1, "name": "Amod", "job": "Tester" }
@ankdy7
@ankdy7 Жыл бұрын
Can you add more complex scenarios that are used in real time projects, or you can just give them as a questionnaire and we can solve at our end. Thanks!
@MahendraVidyarthi
@MahendraVidyarthi 2 ай бұрын
Query: You have taken HashMap payload, but in createAirline() it needs values in String type instead Object type, how is it converting them?
@RetargetCommon
@RetargetCommon 2 ай бұрын
I have overloaded method. Pls check class.
@GurudattaPraharaj
@GurudattaPraharaj Жыл бұрын
If user has 100 of request payloads, then for each one need to create separate functions. Which will not help. Do you have any approach where we need to mention common jon and we can customize it based on type of post request we want to send ?
@RetargetCommon
@RetargetCommon Жыл бұрын
There are multiple ways of creating payloads. You can have a standard json payload in a file and edit it as per requirements. That I have covered in Rest Assured concepts playlist.
@maheedharkolipakula9222
@maheedharkolipakula9222 Жыл бұрын
Hi Sir, I am getting an issue. when I have created the package inside the src/main/java for utils. if I did the same thing in src/test/java, it's working correctly
@RetargetCommon
@RetargetCommon Жыл бұрын
Can you reframe your question?
@lavanyamutyala9420
@lavanyamutyala9420 Жыл бұрын
In Pom.xml, under the rest-assured dependency - you will find a scope tag( test). As the scope is given only for test, you are unable to import the packages in main. Solution : Remove the scope tag completely and the same utils class can be created in "src/main/java".
API Автотесты с нуля Rest Assured
1:08:45
Oleh Pendrak
Рет қаралды 73 М.
Fake watermelon by Secret Vlog
00:16
Secret Vlog
Рет қаралды 29 МЛН
ROSÉ & Bruno Mars - APT. (Official Music Video)
02:54
ROSÉ
Рет қаралды 123 МЛН
didn't manage to catch the ball #tiktok
00:19
Анастасия Тарасова
Рет қаралды 34 МЛН
How to Handle Authentication in RestAssured
17:00
Mukesh otwani
Рет қаралды 48 М.
REST Assured Beginner Tutorial 10 | How to validate JSON Schema
13:11
Automation Step by Step
Рет қаралды 60 М.
37. Create Complex JSON Payload Using Java For Rest Assured
29:01
Retarget Common
Рет қаралды 14 М.
Learn JSON in 10 Minutes
12:00
Web Dev Simplified
Рет қаралды 3,2 МЛН
Postman Tutorial #15 - What is JSON | Send Requests with JSON Payload
10:33
Software Testing Mentor
Рет қаралды 13 М.