No programs were asked. Only questions regarding my current project were asked. No coding, no testing question.
Sdet Interview Questions
4,387 sdet interview questions shared by candidates
Suppose you had (describes a fairly standard modern pub-sub event driven system), where would you prioritize testing?
Check if a string is an anagram
1. String anagrams 2. Git commads and its explanations 3. Monolithic and Microservice (difference) 4. APM Tool 5. How to check Logs 6. How to see api request and response in mobile app 7.some other questions which are generic in nature
Prepare for java basics and explain your project wrt to work done on automation
Can you describe a critical bug you found in testing, how you reported it, and the impact it had?
There was a question on finding the continuous product of an array from a given index.
Whats my interest and why ?
def test_api_response(): """ Task: Implement a function to test an API endpoint that returns user data. The API endpoint: https://api.example.com/users/{user_id} Expected response format: { "id": int, "name": string, "email": string, "age": int } Requirements: 1. Write a function that sends a GET request to the API for a given user_id. 2. Validate the response status code is 200. 3. Verify the response JSON structure matches the expected format. 4. Check that all required fields are present and have the correct data types. 5. Implement at least one edge case test (e.g., invalid user_id). 6. Use any Python testing framework and HTTP library of your choice. Bonus: - Implement parameterized tests for multiple user IDs. - Add performance assertions (e.g., response time < 500ms). Note: You can assume the API is functional. Focus on writing the test code. """ # Implement your solution here pass # Example usage (you'd typically use a test runner like pytest) if __name__ == "__main__": test_api_response()
Domande con ragionamento induttivo mutuamente esclusivo
Viewing 3951 - 3960 interview questions