Open saimedhi opened 8 months ago
It will be ideal to be able to have OSB support different clients. The precise mechanism and interfaces need to be properly scoped out and designed. Meanwhile, would suggest changing the title of this PR -- "multiple" often implies "concurrent".
I am working on this issue.
Is your feature request related to a problem? Please describe. The objective is to extract opensearch-py client performance metrics in opensearch-benchmark with various connections (urllib3httpconnection, requestshttpconnection, aiohttpconnection). The current code exclusively uses aiohttpconnection. Historically, opensearch-benchmark supported urllib3httpconnection, and at a different time, aiohttpconnection. Aim to introduce the flexibility to choose between these connections, allowing users to gain insights into their respective performances.
Describe the solution you'd like Enable opensearch-benchmark to work with urllib3httpconnection and requestshttpconnection for opensearch-py client. Provide an option to switch the client connection using an argument in the execute-test command.