PageSourceSearch

https://www.echoapi.com/wiki/assets/js/55fe3926.3102c604.js

js echoapi.com collected 2026-09-29 00:04:01 UTC 15,083 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmy_website=self.webpackChunkmy_website||[]).push([[1546],{5680:(e,t,a)=>{a.d(t,{xA:()=>p,yg:()=>y});var n=a(6540);function s(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function i(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function r(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){s(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function l(e,t){if(null==e)return{};var a,n,s=function(e,t){if(null==e)return{};var a,n,s={},i=Object.keys(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||(s[a]=e[a]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(s[a]=e[a])}return s}var o=n.createContext({}),g=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):r(r({},t),e)),a},p=function(e){var t=g(e.components);return n.createElement(o.Provider,{value:t},e.children)},c="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var a=e.components,s=e.mdxType,i=e.originalType,o=e.parentName,p=l(e,["components","mdxType","originalType","parentName"]),c=g(a),d=s,y=c["".concat(o,".").concat(d)]||c[d]||u[d]||i;return a?n.createElement(y,r(r({ref:t},p),{},{components:a})):n.createElement(y,r({ref:t},p))}));function y(e,t){var a=arguments,s=t&&t.mdxType;if("string"==typeof e||s){var i=a.length,r=new Array(i);r[0]=d;var l={};for(var o in t)hasOwnProperty.call(t,o)&&(l[o]=t[o]);l.originalType=e,l[c]="string"==typeof e?e:s,r[1]=l;for(var g=2;g<i;g++)r[g]=a[g];return n.createElement.apply(null,r)}return n.createElement.apply(null,a)}d.displayName="MDXCreateElement"},1749:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>r,default:()=>u,frontMatter:()=>i,metadata:()=>l,toc:()=>g});var n=a(8168),s=(a(6540),a(5680));const i={slug:"/AI/aitestcases"},r=void 0,l={unversionedId:"AI/AI Test Cases",id:"AI/AI Test Cases",title:"AI Test Cases",description:"1. Overview",source:"@site/docs/22-AI/03-AI Test Cases.md",sourceDirName:"22-AI",slug:"/AI/aitestcases",permalink:"/wiki/docs/AI/aitestcases",draft:!1,tags:[],version:"current",sidebarPosition:3,frontMatter:{slug:"/AI/aitestcases"},sidebar:"docs",previous:{title:"API Helper",permalink:"/wiki/docs/AI/apihelper"},next:{title:"AI Completion(Parameter Value & Description)",permalink:"/wiki/docs/AI/aicompletion"}},o={},g=[{value:"1. Overview",id:"1-overview",level:2},{value:"2. Step-by-Step Guide",id:"2-step-by-step-guide",level:2},{value:"2.1 Accessing the &quot;Generate Test Cases&quot; Interface",id:"21-accessing-the-generate-test-cases-interface",level:3},{value:"2.2 Selecting Test Dimensions",id:"22-selecting-test-dimensions",level:3},{value:"2.3 Generating Test Cases",id:"23-generating-test-cases",level:3},{value:"2.4 Running the Test Cases",id:"24-running-the-test-cases",level:3},{value:"2.5 After Test Case Execution",id:"25-after-test-case-execution",level:3},{value:"3. Key Button Descriptions",id:"3-key-button-descriptions",level:2},{value:"3.1 <strong>Generate Test Cases</strong>",id:"31-generate-test-cases",level:3},{value:"3.2 <strong>Apply</strong>",id:"32-apply",level:3},{value:"3.3 <strong>Apply and Test</strong>",id:"33-apply-and-test",level:3},{value:"3.4 <strong>View Execution Details</strong>
1",id:"34-view-execution-details",level:3},{value:"3.5 <strong>AI Generate Report</strong>",id:"35-ai-generate-report",level:3},{value:"4. Test Report",id:"4-test-report",level:2},{value:"5. Frequently Asked Questions (FAQ)",id:"5-frequently-asked-questions-faq",level:2},{value:"5.1 What should I do if test case generation fails?",id:"51-what-should-i-do-if-test-case-generation-fails",level:3},{value:"5.2 How can I debug issues during test case execution?",id:"52-how-can-i-debug-issues-during-test-case-execution",level:3}],p={toc:g},c="wrapper";function u(e){let{components:t,...a}=e;return(0,s.yg)(c,(0,n.A)({},p,a,{components:t,mdxType:"MDXLayout"}),(0,s.yg)("h2",{id:"1-overview"},"1. Overview"),(0,s.yg)("p",null,"This feature allows you to generate test cases using AI, based on the current interface information. AI will automatically generate test data across 8 key test dimensions, offering various options such as download, apply, or run tests. The generated test cases are saved in the AI data pool, and you can also generate a detailed test report for further analysis."),(0,s.yg)("h2",{id:"2-step-by-step-guide"},"2. Step-by-Step Guide"),(0,s.yg)("h3",{id:"21-accessing-the-generate-test-cases-interface"},'2.1 Accessing the "Generate Test Cases" Interface'),(0,s.yg)("ol",null,(0,s.yg)("li",{parentName:"ol"},"Open the ",(0,s.yg)("strong",{parentName:"li"},"Test Cases")," tab under the HTTP interface section."),(0,s.yg)("li",{parentName:"ol"},"On the test cases page, you'll see a button labeled ",(0,s.yg)("strong",{parentName:"li"},'"Generate Test Cases"'),". Click this to open the next page\u2014",(0,s.yg)("strong",{parentName:"li"},"Test Case Preview Interface"),".")),(0,s.yg)("h3",{id:"22-selecting-test-dimensions"},"2.2 Selecting Test Dimensions"),(0,s.yg)("ol",null,(0,s.yg)("li",{parentName:"ol"},"By default, ",(0,s.yg)("strong",{parentName:"li"},"8 test dimensions")," are pre-selected. These dimensions cover common testing scenarios, such as functional testing, boundary testing, and security testing."),(0,s.yg)("li",{parentName:"ol"},"You can adjust or unselect any dimensions if needed, but we recommend keeping the defaults for comprehensive and accurate test coverage.\n",(0,s.yg)("img",{parentName:"li",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/e3d3f3d6-4c56-4a33-8e29-61b461eea01e.png",alt:"image.png",title:"image.png"}))),(0,s.yg)("h3",{id:"23-generating-test-cases"},"2.3 Generating Test Cases"),(0,s.yg)("ol",null,(0,s.yg)("li",{parentName:"ol"},"Click the ",(0,s.yg)("strong",{parentName:"li"},'"Generate Test Cases"')," button, and AI will automatically generate test data based on the current interface and selected dimensions."),(0,s.yg)("li",{parentName:"ol"},"This process usually takes from a few seconds to a couple of minutes, depending on the complexity of the interface and the number of selected dimensions.\n",(0,s.yg)("img",{parentName:"li",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/3408aaa6-a3f4-4c0f-869d-841dc70e4df9.png",alt:"image.png",title:"image.png"})),(0,s.yg)("li",{parentName:"ol"},"After the generation is complete, the following options will appear in the upper-right corner of the page:\n",(0,s.yg)("img",{parentName:"li",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/525c829f-7012-4fd7-9023-a422fa8d2496.png",alt:"image.png",title:"image.png"}),(0,s.yg)("ul",{parentName:"li"},(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Download Test Data"),": Download the generated test data as a file for offline use."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Apply"),": Save the generated test cases to the AI data pool and close the current page."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Apply and Test"),": Save the test cases and begin running the tests, taking you to the ",(0,s.yg)("strong",{parentName:"li"},"Execute Test Cases")," page.")))),(0,s.yg)("h3",{id:"24-running-the-test-cases"},"2.4 Running the Test Cases"),(0,s.yg)("p",null,"Once you click ",(0,s.yg)("strong",{parentName:"p"},'"Apply and Test"'),", you'll be taken to the Execute Test Cases page, where you\u2019ll see the following:\n",(0,s.yg)("img",{parentName:"p",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/276f53ea-a1a1-4445-b0b1-5d5827210270.png",alt:"image.png",title:"image.png"})),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Execution Progress"),": The top of the page shows the execution progress of the test cases."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Test Case Execution"),": Tests will run according to the defined test case groups and dimensions."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"View Execution Details"),":",(0,s.yg)("ul",{parentName:"li"},(0,s.yg)("li",{parentName:"ul"},"Each test case will have a ",(0,s.yg)("strong",{parentName:"li"},'"View Execution Details"')," button on the right side. Clicking this opens a secondary drawer."),(0,s.yg)("li",{parentName:"ul"},"In the drawer, you can review the execution details, including test results, logs, and more."),(0,s.yg)("li",{parentName:"ul"},"This page also allows ",(0,s.yg)("strong",{parentName:"li"},"simple debugging")," to quickly identify issues.\n",(0,s.yg)("img",{parentName:"li",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/267f3f3d-15ed-4fba-a8b8-be7b22996457.png",alt:"image.png",title:"image.png"}))))),(0,s.yg)("h3",{id:"25-after-test-case-execution"},"2.5 After Test Case Execution"),(0,s.yg)("p",null,"   ",(0,s.yg)("img",{parentName:"p",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/723bfd79-da5f-4f9c-8b21-aaf806dca74d.png",alt:"image.png",title:"image.png"})),(0,s.yg)("ol",null,(0,s.yg)("li",{parentName:"ol"},"Once all test cases have been executed, the ",(0,s.yg)("strong",{parentName:"li"},'"AI Generate Report"')," button will appear."),(0,s.yg)("li",{parentName:"ol"},"Clicking this button will take you to the ",(0,s.yg)("strong",{parentName:"li"},"Test Report")," tab, where AI will generate a detailed report based on the tests run."),(0,s.yg)("li",{parentName:"ol"},"After the report is generated, it will be saved in the ",(0,s.yg)("strong",{parentName:"li"},"History Reports")," list. You can access it anytime to review or download for further analysis.")),(0,s.yg)("h2",{id:"3-key-button-descriptions"},"3. Key Button Descriptions"),(0,s.yg)("h3",{id:"31-generate-test-cases"},"3.1 ",(0,s.yg)("strong",{parentName:"h3"},"Generate Test Cases")),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Function"),": Automatically generate test data based on the current interface and selected test dimensions using AI."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Tip"),": Clicking this starts the generation process, which can vary in time depending on the complexity of the interface and dimensions.")),(0,s.yg)("h3",{id:"32-apply"},"3.2 ",(0,s.yg)("strong",{parentName:"h3"},"Apply")),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Function"),": Save the generated test cases to the AI data pool and close the current page."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Tip"),": Clicking this exits the page and stores the test data automatically.")),(0,s.yg)("h3",{id:"33-apply-and-test"},"3.3 ",(0,s.yg)("strong",{parentName:"h3"},"Apply and Test")),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Function"),": Save the test cases and start running the tests, taking you to the Execute Test Cases page."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Tip"),": Clicking this saves the test data and immediately begins executing the test cases, displaying progress as the tests run.")),(0,s.yg)("h3",{id:"34-view-execution-detail
1s"},"3.4 ",(0,s.yg)("strong",{parentName:"h3"},"View Execution Details")),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Function"),": View detailed information for each test case, including results, logs, and errors."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Tip"),": Clicking this opens a secondary drawer with the test case details, and allows for simple debugging.")),(0,s.yg)("h3",{id:"35-ai-generate-report"},"3.5 ",(0,s.yg)("strong",{parentName:"h3"},"AI Generate Report")),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Function"),": Generate a test report based on the executed test results."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Tip"),": Clicking this generates a detailed report, which is saved in the ",(0,s.yg)("strong",{parentName:"li"},"History Reports")," list.")),(0,s.yg)("h2",{id:"4-test-report"},"4. Test Report"),(0,s.yg)("p",null,"Once all test cases are executed, you can generate a test report using the ",(0,s.yg)("strong",{parentName:"p"},"AI Generate Report")," button. The report includes:\n",(0,s.yg)("img",{parentName:"p",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/f9df3960-3737-496f-83c5-2112b554d653.png",alt:"image.png",title:"image.png"})),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Test Overview"),": Includes start and end times, total number of test cases executed, etc."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Case Result Analysis"),": Results for each test case, including AI-generated insights."),(0,s.yg)("li",{parentName:"ul"},(0,s.yg)("strong",{parentName:"li"},"Test Conclusion"),": Final conclusions based on the executed test cases.")),(0,s.yg)("p",null,"The generated report will be saved in the ",(0,s.yg)("strong",{parentName:"p"},"History Reports")," list for easy access at any time.\n",(0,s.yg)("img",{parentName:"p",src:"https://assets.echoapi.com/upload/user/216741487273459712/log/0304dbc7-d91a-4b59-9a36-e3a42d99a0d8.png",alt:"image.png",title:"image.png"})),(0,s.yg)("h2",{id:"5-frequently-asked-questions-faq"},"5. Frequently Asked Questions (FAQ)"),(0,s.yg)("h3",{id:"51-what-should-i-do-if-test-case-generation-fails"},"5.1 What should I do if test case generation fails?"),(0,s.yg)("p",null,"If you're having trouble generating test cases, try the following:"),(0,s.yg)("ul",null,(0,s.yg)("li",{parentName:"ul"},"Ensure the current interface is correctly configured."),(0,s.yg)("li",{parentName:"ul"},"Check if you have enough credits or permissions available for generating test cases."),(0,s.yg)("li",{parentName:"ul"},"If the problem persists, reach out to the technical support team for assistance.")),(0,s.yg)("h3",{id:"52-how-can-i-debug-issues-during-test-case-execution"},"5.2 How can I debug issues during test case execution?"),(0,s.yg)("p",null,"Click the ",(0,s.yg)("strong",{parentName:"p"},'"View Execution Details"')," button to open the execution details page, where you can view logs and perform basic debugging. If the issue is more complex, export the logs and contact the development team for further assistance."))}u.isMDXComponent=!0}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.