API Testing using POSTMAN - Advance Test Cases

API Testing using POSTMAN - Advance Test Cases

ItsTechMode

7 лет назад

62,438 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Eddie-gb3bn
@Eddie-gb3bn - 12.01.2019 13:26

Good video, however, I think it's very important to get your tests to fail before assuming the positive test is enough.

Ответить
@anushagatti1241
@anushagatti1241 - 21.06.2020 17:37

Thanks for info which you have shared and very well explained

Ответить
@sv-ww7kr
@sv-ww7kr - 17.06.2020 17:34

Hi,
All your videos are very helpful..
Can we compare the collection response with CSV data file?
I want to compare string from response with CSV data e.g.

this is my response
{ "testId": 11,
"testCode": "BBHYMUNI",
"testName": "API test postman user",
}
{
} ........

I have CSV file with testId,testCode and testName

How I can compare the response for multiple testname?
I am able to compare testCode with following SNIPPET but testName is not working with same code

var jsonData = pm.response.json();
pm.test("Your test name", function () {
pm.expect(jsonData[data.index].testCode).to.eql(data.testCode);
})

So please suggest how can I compare string

Ответить
@iyerakhila123
@iyerakhila123 - 03.02.2020 21:24

Thank you for making API testing look so simple. In real world testing is this what we do when we say API testing or is there more to it, I mean advanced ways of testing the API?

Ответить
@infogaanja2323
@infogaanja2323 - 20.01.2020 11:53

Could you please take any web application and show some real time test cases or scenarios...also can you plz tell if this tutorial we can explain in interviews

Ответить
@vigneshnagaraj7137
@vigneshnagaraj7137 - 07.08.2019 21:07

How to solve Internal server error

Ответить
@shahzaibshk3001
@shahzaibshk3001 - 06.07.2019 22:40

can we import these test cases in word or excel file?

Ответить
@nandikondamalla
@nandikondamalla - 19.09.2018 12:00

Good one.

Ответить
@shubhammsaini
@shubhammsaini - 04.07.2018 11:54

Very Nicely and with simplicity explained the use of Tests tab of postman, Liked it!! --Keep Rocking!

Ответить
@prasadpujari3642
@prasadpujari3642 - 18.06.2018 21:30

Hi ,When I using tiny schema valdation then getting error -ReferenceError: jsonData is not defined

Ответить
@parveensultana8392
@parveensultana8392 - 05.06.2018 16:28

Hello, I am new to api testing and I tried test cases. I am getting this format when I click on 'Status Code is 200' from the snippet - pm.test("Status code is 200", function () {
pm.response.to.have.status(200);
});
But you were getting completely different code snippet. Can you please help me on this how you got yours.

Ответить
@TenkasiSubramanian
@TenkasiSubramanian - 10.03.2018 09:19

How to sync postman and alm?

Ответить
@TenkasiSubramanian
@TenkasiSubramanian - 10.03.2018 08:56

Is there any way to validate x-total-count header value through code snippet? Which snippet should we use for header validations?

Ответить
@TenkasiSubramanian
@TenkasiSubramanian - 09.03.2018 15:50

I am getting error message jsonData is undefined and my snippet is different from the one you show.
Snippet:
var schema = {
"items": {
"type": "boolean"
}
};

var data1 = [true, false];
var data2 = [true, 123];

pm.test('Schema is valid', function() {
pm.expect(tv4.validate(data1, schema)).to.be.true;
pm.expect(tv4.validate(data2, schema)).to.be.true;
});

Ответить
@udhayasan
@udhayasan - 04.11.2017 08:49

Your awesome. I’m a beginner and was struggling to write test condition. Your video clarified all my doubts. Great job bro.

Ответить
@nsv7305
@nsv7305 - 15.10.2017 18:10

simply superb.

Ответить
@serapioclan
@serapioclan - 04.10.2017 13:19

Very informative video!! Thanks!!

Ответить
@orangeagent2099
@orangeagent2099 - 15.08.2017 23:48

This was without a doubt one of the best video's I've seen on Postman... Subbing!

Ответить
@GeektheGladiator
@GeektheGladiator - 10.08.2017 18:12

I am unable to connect MS SQL database with script in free version of POSTMAN. please suggest

Ответить
@AravindanM93
@AravindanM93 - 21.07.2017 21:13

👏 good explanation for beginners

Ответить
@GeektheGladiator
@GeektheGladiator - 21.06.2017 21:56

any idea about POST or PUT. how do we pass the parameter at run time? put more lite on code snippet

Ответить
@GeektheGladiator
@GeektheGladiator - 21.06.2017 14:40

At the run time which environment it will pick. can we make the environment dynamic at run time?

Ответить
@HieuTrandng
@HieuTrandng - 12.05.2017 07:34

How to open console in windown 10 ?

Ответить
@Sagarsrao
@Sagarsrao - 01.05.2017 19:17

Just Awesome

Ответить
@biswajitguha6844
@biswajitguha6844 - 12.04.2017 16:56

Hi Pramod, thanks for uploading this tutorial. This was very helpful to me.
Quick question...
In the portion where you explained how to test the value of a particular key in the response body.
tests["User ID should be "] = jsonData.userId === 1;

For such a test, say, if we have a lot of values to be validated. Then it'll be difficult to compare with a hard-coded value.
So my question is, is it possible for me to do this comparison from some file (csv, txt etc) where I can store the values and provide the path to the file? Something like,

tests["User ID should be "] = jsonData.userId === <datafile>.<value>;

Appreciate your help.

Ответить
@shrutisaraf8393
@shrutisaraf8393 - 21.03.2017 16:27

Hi Pramod...This is really very helpful.
But I want to know more about the writing the test cases as I am doing API testing first time.
i want to learn how to write test cases .

Ответить
@letme4u
@letme4u - 14.03.2017 00:50

very nice !!!

Ответить
@irynaprokopenko6438
@irynaprokopenko6438 - 12.02.2017 04:37

hi. do you have lessons about newman? cli companion for postman

Ответить
@bharad_p
@bharad_p - 08.02.2017 13:47

Really grateful for the uploads,as not many tutorials are available on Postman Tests !! Crisp and clear.

Ответить
@shrutilembhe8954
@shrutilembhe8954 - 02.02.2017 10:09

Hi Pramod...This is really very helpful.
But I want to know more about the writing the test cases as I am doing API testing first time.
Please share more videos on advanced test case design.

Ответить
@MaheshJoshi_wellington
@MaheshJoshi_wellington - 29.01.2017 05:26

please make next videos please

Ответить
@MaheshJoshi_wellington
@MaheshJoshi_wellington - 29.01.2017 01:03

hello boss you are just awesome. Can I please get your contact details?? need help.I started using postman and working on api project and doing api testing 1st time and get confused how to write test cases. kind regards mahesh joshi

Ответить