Introduction Services as Code (SaC) CXTM Basics CXTM Projects CXTM Test Cases CXTM Test Automation CXTM Batches Setup GitLab CI/CD Configure L3Out Test Results CXTM Reporting Continue your Education
Add Test Case Parameters
Now that you've successfully created a Topology file, you'll add parameters to the test cases in your project to run
in your specific ACI environment. Well-written test case job files will not hard-code values. Instead, they will use parameters
and Topology files to run in different environments.
Step 1 - Add the parameters for Verify External Routes Learned on Border Leafs
From your project's Test Cases page:
Locate the test case Verify External Routes Learned on Border Leafs that has identifier 01.02
For this test case's row, click on the Yes link under the Job File? column
Click on the pencil icon in the upper right-hand corner of the Job File Preview pane to access the editor
Insert the parameters below into the Parameter File section of your Job File.
Warning
NOTE: You may need to scroll down to see the Parameter File section.
parameters.yaml
Scroll back up to the top of the Job File page and click Save
Step 2 - Return to your project's Test Cases page
Return to the sidebar.
Scrolldown until you locate the heading Test Cases
Under Test Cases , click Test Cases
Step 3 - Add the parameters for Verify Routes Advertised by ACI are Present on External L3 NXOS Device
From your project's Test Cases page:
Locate the test case Verify Routes Advertised by ACI are Present on External L3 NXOS Device that has identifier 01.03
For this test case's row, click on the Yes link under the Job File? column
Click on the pencil icon in the upper right-hand corner of the Job File Preview pane to access the editor
Insert the parameters below into the Parameter File section of your Job File.
parameters.yaml
Scroll back up to the top of the Job File page and click Save
Step 4 - Return to your project's Test Cases page
Return to the sidebar.
Scrolldown until you locate the heading Test Cases
Under Test Cases , click Test Cases
Step 5 - Add the parameters for Verify Default Gateway
From your project's Test Cases page:
Locate the test case Verify Default Gateway that has identifier 01.04
For this test case's row, click on the Yes link under the Job File? column
Click on the pencil icon in the upper right-hand corner of the Job File Preview pane to access the editor
Insert the parameters below into the Parameter File section of your Job File.
parameters.yaml
Scroll back up to the top of the Job File page and click Save
Step 6 - Return to your project's Test Cases page
Return to the sidebar.
Scrolldown until you locate the heading Test Cases
Under Test Cases , click Test Cases
Step 7 - Add the parameters for Verify Port Failure and Recovery Convergence
From your project's Test Cases page:
Locate the test case Verify Port Failure and Recovery Convergence that has identifier 01.05
For this test case's row, click on the Yes link under the Job File? column
Click on the pencil icon in the upper right-hand corner of the Job File Preview pane to access the editor
Insert the parameters below into the Parameter File section of your Job File.
parameters.yaml
Scroll back up to the top of the Job File page and click Save
Step 8 - Return to your project's Test Cases page
Return to the sidebar.
Scrolldown until you locate the heading Test Cases
Under Test Cases , click Test Cases
Continue to the next section to create the Job File and parameters for the last test case in your project.