Questions tagged [api]

Application Programming Interface : a set of functions and procedures that allow the creation of applications which access the features or data of an operating system, application, or other service.

Filter by
Sorted by
Tagged with
0 votes
2 answers
2k views

How to access the TestRail API behind basic authentication plus form based authentication?

I’m trying to access the API of TestRail (by gurock) on our self-hosted TestRail server (version v5.1.0.3413). To use TestRail, we have to login with basic authentication plus form-based ...
Markus Neifer's user avatar
0 votes
2 answers
10k views

How to pass parameters in body of JSON request with GSON builder

JSON example: { "locale": "abc", "passengers": [ { "address1": "xx", "address2": "yy", "city": "London", "county": "Test", "dateOfBirthDay": "2", "dateOfBirthMonth": "1", "...
LaxmiMaddali's user avatar
3 votes
2 answers
3k views

What is the best way to test API? [closed]

I am working as QA in a company. We create a client-server mobile application. Now I want to test our APIs via automation during my daily routine. What is the best way to test a RESTful API? Any ...
Valentin's user avatar
1 vote
2 answers
2k views

How to extract rcAuth Token from header and POST as parameter to call an API

I'm automating email verification process, For that I have an API where I have to pass the emailID with the URL e.g.http://apiqa.somewebsite.in/api/v1/verify-email-qa/[email protected] and have ...
NarendraR's user avatar
  • 1,573
2 votes
0 answers
238 views

Laravel codeception api testing test structure

I want to test all my API endpoints with codeception. I started off with a more model-based approach: class UserCest { public function it_can_request_its_own_status (ApiTester $I) { ...
Chris's user avatar
  • 149
0 votes
2 answers
3k views

How to run one Http Request between execution time of other two Http Request in Jmeter

I am Using Jmeter for load testing so i am little bit struck so here is problem i want run continuously (Http-request-2) getDriverLocationId in between Trip started(Http request -1) and Trip complete(...
SQA's user avatar
  • 119
13 votes
3 answers
2k views

API test automation: GUI tool vs programmatic approach?

We have a Rest API written in C# and I need to investigate a good approach to automate the tests. There are 2 ways to automate API tests: GUI tool (e.g. SoapUI) Programmatic approach, using some test ...
Arthur M.'s user avatar
  • 163
3 votes
2 answers
22k views

How to test Single Sign On (SSO) implementation?

Single Sign On (SSO) is being implemented on the application I work on and I have to QA this ensuring that nothing breaks due to the aforementioned implementation. The development side told us that ...
Rohan Kalia's user avatar
2 votes
1 answer
2k views

How can I provide delay between dependent API calls dynamically in JMeter script

I want to create JMeter script in which some API calls are made only after the response to the API calls which it is dependent upon is received successfully. Is it possible in JMeter? And if yes then ...
SRM21's user avatar
  • 299
1 vote
2 answers
71 views

Api load testing with certain scenarios

Hei. I've done some api testing with java using restassured framework, but this doesn't seem to have a good solution for load testing. I would need a recommendation for a tool that could help me with ...
Madis Kangro's user avatar
0 votes
2 answers
1k views

How to get all test cases from a project through testlink api?

I can only see methods to retrieve the test cases if they are bind with any plan. (getTestCasesForTestPlan). I want to retrieve all the test cases written by the user before its used in a plan. ...
Zeeshan's user avatar
4 votes
2 answers
1k views

SoapUI Groovy Script for date field to always use "last week"

I'm trying to use property as an input for API that requires a date. Since I'm remaking these tests every day, and will probably use them in future again, I want the value to be fluid. I encountered ...
Mortynaut's user avatar
1 vote
2 answers
435 views

Automate the API using rest assured

I have got some rest API's for testing with rest assured. How to automate using with rest assured? What are the different cases that I need to test? This is a sample API. What are the test cases ...
toastmaster's user avatar
1 vote
1 answer
103 views

Start with soap ui [closed]

I want to do API testing in my project. I installed soap ui for api testing. I don't know to get start using soap ui. Can anybody help me to start doing soap ui testing . Is we have to write ...
user avatar
15 votes
6 answers
57k views

How do you test a backend API?

I was applying for QA position and the SDET asked me this question: How do you test a backend API? In the interview. I wasn't sure I answered it correctly. Just wondering if I can get some input ...
Aziz's user avatar
  • 161

1
2