Automation Testing Interview Questions| Selenium Interview Questions| GIT Questions| REST API
Vložit
- čas přidán 4. 09. 2024
- @RD Automation Learning
#AutomationTestingInterviewQuestions
#AutomationInterviewQuestions
#FresherInterviewQuestions
#SeleniumInterviewQuestions
Difference between REST & SOAP
SOAP:
1. SOAP is a protocol through which two computers communicate by sharing XML document
2. SOAP supports only XML format
3. SOAP does not support caching
4. SOAP is slower than REST
5. SOAP is like a custom desktop application, closely connected to the server
6. SOAP runs on HTTP but envelopes the message
REST:
1. REST is a service architecture and design for network-based software architecture
2. REST supports different data formats
3. REST supports caching
4. REST is faster than SOAP
5. REST client is just like a browser and uses standard methods An application has to fit inside it
6. REST uses the HTTP headers to hold meta information
What exactly needs to be verified in API Testing?
Basically, on API Testing, we send a request to the API with the known data and we analyze the response.
1. Data accuracy
2. HTTP status codes
3. Response time
3. Error codes in case API return any errors
4. Authorization checks
5. Non-functional testing such as performance testing, security testing
What are the main challenges faced in API testing?
Some of the challenges we face while doing API testing are as follows
Selecting proper parameters and its combinations
Categorizing the parameters properly
Proper call sequencing is required as this may lead to inadequate coverage in testing
Verifying and validating the output
Due to the absence of GUI, it is quite difficult to provide input values
Name some most commonly used HTTP methods?
Some of the HTTP methods are
GET: It enables you to retrieve data from a server
POST: It enables you to add data to an existing file or resource in a server
PUT: It lets you replace an existing file or resource in a server
DELETE: It lets you delete data from a server
PATCH: It is used to apply partial modifications to a resource
OPTIONS: It is used to describe the communication options for the target resource
HEAD: It asks for a response identical to that of a GET request, but without the response body
What is the difference between top down & bottom up approach in SOAP Web services?
Top down SOAP Web services include creating WSDL document to create a contract between the web service and the client, with a required code as an option. This is also known as Contract-first approach. The top-down approach is difficult to implement because classes must be written to confirm the contract defined in WSDL. One of the benefits of this method is that both client and server code can be written in parallel.
Bottom up SOAP web services require the code to be written first and then WSDL is generated. It is also known as Contract-last approach. Since WSDL is created based on the code, bottom-up approach is easy to implement and client codes must wait for WSDL from the server side to start working.
Which test cases are written first white boxes or black box?
The simple answer is black-box test cases are written first.
Let’s see why black-box test cases are written first compared to white box test cases.
Prerequisites to start writing black-box test cases are Requirement documents or design documents. These documents will be available before initiating a project.
Prerequisites to start writing white box test cases are the internal architecture of the application. The internal architecture of the application will be available in the later part of the project i.e., designing.
126. What is the workbench concept in Software Testing?
Workbench is a practice of documenting how a specific activity must be performed. It is often referred to as phases, steps, and tasks.
In every workbench there will be five tasks such as Input, Execute, Check, Output, and rework.
127. What is Random testing?
In random testing is a form of black-box software testing technique where the application is testing by generating random data.
What is Error Seeding?
Error seeding is a process of adding known errors intendedly in a program to identify the rate of error detection. It helps in the process of estimating the tester skills of finding bugs and also to know the ability of the application (how well the application is working when it has errors.)
HashSet is faster than TreeSet.
HashSet is implemented using Hashtable where TreeSet uses O(log n) for insert,delete and search which is higher than hashset.
Wonderful Answer!!
Hashset
Very nice sir...
Thanks and welcome
Thanks and keep watching
On 12:27, candidate said answer will be 25 and 26 but correct answer is 26 and 25. I want to thank you sir for these wonderful learning content.
Thanks for watching!!
Nice video
Thanks
Nice videos..Please make more videos.
Thank you, I will
Nice Sir!! 👌🏻
Keep watching
Nice video 👍
Thanks 👍
Der r n no. Of youtubers who conduct mock interviews... But the way u give feedback for every question is superb... If the person tells unsatisfied answers- u will give the correct answer den n der, which will help in good learning. Your New subscriber now... I don't need to go to any other place now on youtube to learn testing.
int i = 25;
int j = i++;
S.o.p(i + " " + j):
O/p - 26 25
Is it correct? @12:30
Could you conduct mock interview for me (Both Manual and Automation)?
sure please share your CV at rdautomationlearning@gmail.com
whats the experience level for this interview
How much experience this guy has??
hashset is fastest
hashset is faster
Nice video
Thanks
Hashset