HITK-TECH-Community / Community-Website

Official Website of HITK Tech Community 👩🏻‍💻👨🏻‍💻
https://hitk-tech-community.netlify.app/
MIT License
174 stars 320 forks source link

[Backend] Integration existing API Testing #493

Open jackfrost13 opened 3 years ago

jackfrost13 commented 3 years ago

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

meghanacosmos commented 3 years ago

Hey, can I work on this?

jackfrost13 commented 3 years ago

@Meghana-12 Please update your progress

RituCs commented 3 years ago

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

jackfrost13 commented 3 years ago

Lets wait till tomorrow else I will assign you

meghanacosmos commented 3 years ago

@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.

jackfrost13 commented 3 years ago

@RituCs You can start working on it

RituCs commented 3 years ago

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 !

jackfrost13 commented 3 years ago

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

jackfrost13 commented 3 years ago

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

RituCs commented 3 years ago

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 !

jackfrost13 commented 3 years ago

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

RituCs commented 3 years ago

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 !

jackfrost13 commented 3 years ago

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

RituCs commented 3 years ago

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

jackfrost13 commented 3 years ago

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

Sanj-bot commented 4 months ago

Hey could u help me in getting issues to solve, and can i get this issue?