Community-Website icon indicating copy to clipboard operation
Community-Website copied to clipboard

[Backend] Integration existing API Testing

Open jackfrost13 opened this issue 3 years ago • 16 comments

Integrate existing API Testing files into one with proper test cases whereever requried. If few API's are missing, one needs to add those. Checkout this commit b60fac2735ade59cbf6820a623f0c48c82c79263 We need Complete API testing till this commit.

For help on API testing refer #81

Existing Links: https://www.postman.com/collections/999702eae01efd1e1846 https://www.getpostman.com/collections/69d0f7207dd18940e91a https://www.postman.com/collections/aba0b43b7e2e18f7d9a7 https://www.getpostman.com/collections/aba0b43b7e2e18f7d9a7

jackfrost13 avatar Mar 10 '21 22:03 jackfrost13

Hey, can I work on this?

meghanacosmos avatar Mar 22 '21 13:03 meghanacosmos

@Meghana-12 Please update your progress

jackfrost13 avatar Mar 27 '21 07:03 jackfrost13

Hello , I would like to contribute on this issue.If no one is working on it then please assign me.

RituCs avatar Mar 27 '21 18:03 RituCs

Lets wait till tomorrow else I will assign you

jackfrost13 avatar Mar 27 '21 18:03 jackfrost13

@Meghana-12 Please update your progress

I'm sorry for the late update. I'm occupied with some stuff rn, please assign this to someone else. Sorry for the inconvenience.

meghanacosmos avatar Mar 29 '21 12:03 meghanacosmos

@RituCs You can start working on it

jackfrost13 avatar Mar 30 '21 09:03 jackfrost13

Thanks for assigning me. If you please tell more about the issue then it would be very helpful. I have used postman for testing get,post,delete request in one of my project.Please guide me what I have to do exactly. Thanks !

RituCs avatar Mar 30 '21 09:03 RituCs

you need to compile all the given collections into a single collection

jackfrost13 avatar Mar 30 '21 09:03 jackfrost13

Also need to add required validation/pre-request-script/ testcases wherever required

jackfrost13 avatar Mar 30 '21 09:03 jackfrost13

Hey @jackfrost13 , I could not understand what exactly I have to do in "Fetching the longUrl 1".There is no current value for shortURL variable. Screenshot from 2021-04-06 00-38-18 Please Guide me. Thanks !

RituCs avatar Apr 05 '21 19:04 RituCs

This error could be cause the link doesn't exist in the db right now. Please make sure the link is in the db for some entry

jackfrost13 avatar Apr 05 '21 19:04 jackfrost13

This error could be cause the link doesn't exist in the db right now. Please make sure the link is in the db for some entry.

I have checked it is present. Could you please check and give me valid url which is in db. I have tried all but got same error . Thanks !

RituCs avatar Apr 06 '21 07:04 RituCs

you can do so yourself by creating a short url for any long url

jackfrost13 avatar Apr 06 '21 10:04 jackfrost13

See when I fetch the longUrl , in the body part it shows the html code of the requested url . So I want to know is it ok ?? Or It should show the only longUrl in the body. If then what is the procedure ? Screenshot from 2021-04-06 22-13-25

RituCs avatar Apr 06 '21 16:04 RituCs

I think so you are doing something wrong, Let's connect over meet tomorrow. DM me on slack will schedule a call if you need help

jackfrost13 avatar Apr 06 '21 17:04 jackfrost13