You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/kane-ai-api-testing.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,11 +46,11 @@ This document provides a detailed guide to performing API testing using KaneAI.
46
46
47
47
## 1. Adding an API in a Web Test
48
48
49
-
To start API testing on KaneAI, create a web test using the PetStore API, a commonly available sample. This will allow you to demonstrate API testing capabilities effectively.
49
+
To start API testing on KaneAI, create a web test on the KaneAI home page. Click on "+" icon or type "/" in the input field at the bottom left and a modal will appear. Choose API from it to proceed ahead.
50
50
51
-
-**Step**: Add an API through the slash command and navigate to the API module.
51
+
-**Step**: Add an API through the slash command or click on "+" icon in the field and navigate to the API module.
@@ -59,7 +59,7 @@ Within the API module, you can input the curl command to configure the API setti
59
59
60
60
-**Step**: Paste your curl command into the designated area. KaneAI will populate all necessary details. You may choose to validate the API response or add it directly to the test steps.
<img loading="lazy" src={require('../assets/images/kane-ai/knowledge-base/api-testing/image2.jpg').default} alt="Copy a Curl" className="doc_img"/>
63
63
64
64
65
65
## 3. Validating API Response on KaneAI
@@ -68,7 +68,7 @@ To ensure the API works as expected, use the validation feature. This step confi
68
68
69
69
-**Step**: Click the 'validate' option to check the API response. A 200 response status indicates successful validation, automatically adding the API to your test steps. You can now proceed to submit multiple APIs simultaneously if needed.
@@ -77,7 +77,7 @@ For APIs that do not return a 200 status, you can review the response body and m
77
77
78
78
-**Step**: If the API returns a 400 Bad Request or another error, it will not be added automatically. Review the response and add the API manually if needed.
@@ -86,7 +86,7 @@ KaneAI allows batch processing of multiple APIs to streamline testing. This feat
86
86
87
87
-**Step**: Add multiple APIs by clicking the plus icon and selecting each API, or paste multiple curl commands to add them automatically to the test steps.
@@ -96,17 +96,17 @@ KaneAI supports various HTTP methods like POST, PUT, GET, and DELETE, allowing y
96
96
-**Step**: Add APIs using different HTTP methods, such as a PUT or DELETE command. Validate each API as before, and if successful, they will be automatically included in the test steps.
This structure provides logical groupings for different aspects of API testing with KaneAI, making it easier to follow each type of action required for comprehensive API testing.
112
+
This structure provides logical groupings for different aspects of API testing with KaneAI, making it easier to follow each type of action required for comprehensive API testing.
0 commit comments