Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 41012

API testing is a type of software testing that involves testing APIs directly and as part of integration testing to determine if they meet expectations for functionality, reliability, performance, and security.

3 votes

Should i learn SOAP API or Rest Assured API Testing?

Don't focus too much on tooling. Tools will go out of fashion. Perhaps not this year, not in 2 years, but definitely a few times during your career life (provided you are not at the end of it, but hav …
pavelsaman's user avatar
  • 4,548
3 votes

New to automation testing of APIs with Pycharm and Pytest

Testing APIs is potentially endless, just like almost anything in testing. I recommend focusing on one area rather than drowning yourself in something completely new. That would be a recipe for failur …
pavelsaman's user avatar
  • 4,548
2 votes
Accepted

Search for minimum number of occurrences of a substring

I need to check if the “dna” contains at least 10 “Ngg” sites. That means if there are a minimum of 10 [acgt]gg sites (agg or cgg or tgg or ggg). How do I write a test for that? You need to first fi …
pavelsaman's user avatar
  • 4,548
3 votes

How can one test the security measures or vulnerability when it comes to API testing?

That's a broad question. I recommend taking one or two resources and start exploring from there. You can find some ideas about API testing here and specifically if you ask about security, you can focu …
pavelsaman's user avatar
  • 4,548
3 votes

Rest API and resources validation from QA perspective

Just to add one more explanation. In REST API, the / indicates a hierarchical relationship between resources. This one rule is already broken when you send a POST req to /api/v1/product/2 and 2 means …
pavelsaman's user avatar
  • 4,548
1 vote
Accepted

Sticking to DRY when fixtures and test cases overlap

I'd also take into account how much code the "creating new user" part is. In pytest/Python, it really boils down to just one line of code, something like: response = requests.post(f"{Config.base_url() …
pavelsaman's user avatar
  • 4,548
1 vote

What are the scopes of API testing

Well, I think you're focusing too much on just bugs, but they do not exist in isolation. What is your situation? What is your context? E.g. case-sensitiveness might be important if the error goes all …
pavelsaman's user avatar
  • 4,548
2 votes

Strategies for discovering undocumented API

My experience is that even if there is some documentation, it's quite often rather vague and incomplete. So, you should never completely rely on just documentation even if it's presented to you as goo …
pavelsaman's user avatar
  • 4,548
1 vote

Postman API test structure

Postman offers two main approaches how to manage (test) data, either variables or data files. It's important to take into account how you want to run your collections. If you use the test runner or ne …
pavelsaman's user avatar
  • 4,548
1 vote

What test cases should I consider when testing this flow?

It's been mentioned in the comments, but to make it more visible + add something to it, you can ask yourself a couple of questions: By whom is it going to be used? E.g. internal vs. external users i …
pavelsaman's user avatar
  • 4,548
0 votes
Accepted

Cypress redirect e2e test with stripe js

Yes, as per official cypress documentation, you should avoid using cy.visit() when testing an external site. They also list a bunch of reasons why this is not the best approach: However, you shoul …
pavelsaman's user avatar
  • 4,548