Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test scenarios for listExperiments API #1160

Open
chandrams opened this issue Apr 12, 2024 · 0 comments
Open

Test scenarios for listExperiments API #1160

chandrams opened this issue Apr 12, 2024 · 0 comments

Comments

@chandrams
Copy link
Contributor

Test scenarios for listExperiments API accepting an input json with cluster_name & kubernetes_obj as listed below:

{
    "cluster_name": "cluster-one-division-bell",
    "kubernetes_objects": [
        {
            "type": "deployment",
            "name": "tfb-qrh-deployment",
            "namespace": "default",
            "containers": [
                {
                    "container_image_name": "kruize/tfb-db:1.15",
                    "container_name": "front-data-platform"
                }
            ]
        }
    ]
}
  • Validate the response code, response message and json returned by listExperiments API with the below input jsons:

    • Single container
    • Multiple containers
    • Different deployment types

Note - Test the above with both true/false for results and recommendations and combinations for it as mentioned here

  • Validate the response code and error messages from listExperiments API with the below input:

    • Empty input json
    • Missing mandatory parameters
    • With invalid values such as blank/NULL/invalid data for each of the parameters in the json
  • Validate the response code, response message and json returned by listExperiments API when the input json has a valid container and an invalid container

  • Validate results or recommendations are displayed only for experiments where it is present and no data is shown if not present

  • Validate pagination when results or recommendations is set to False

  • Concurrent access to listExperiments API

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

2 participants