Your question is XPath, DI, and Unknown Endpoint Automation. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Tell me about how you would use XPath to print prices from Redbus greater than 1000, apply dependency injection, automate an unknown endpoint with JMeter, parse JSON from a REST API, and choose a Java design pattern.