Articles → MICROSOFT BOT FRAMEWORK → Batch Testing In LUIS
Batch Testing In LUIS
Purpose Of Batch Testing
 
Create A JSON File
 
- Click on the LUIS application name.Click to Enlarge
- Click on the "Manage" tab.Click to Enlarge
- Click on the "Versions" option from the left-hand side menu.Click to Enlarge
- A list of versions for that application will be listed. Select any version and click on the "Export" → "Export as JSON".Click to Enlarge
- A JSON file is downloaded on your local machine.
- Now open the JSON file and remove everything except utterances. Here is the text in your sample file.
[
  {
    "text": "hello world",
    "intent": "None",
    "entities": []
  },
  {
    "text": "hi",
    "intent": "Greet",
    "entities": []
  },
  {
    "text": "how's the weather today",
    "intent": "None",
    "entities": []
  },
  {
    "text": "what can you do",
    "intent": "None",
    "entities": []
  },
  {
    "text": "what is the time now",
    "intent": "None",
    "entities": []
  },
  {
    "text": "what's my name",
    "intent": "None",
    "entities": []
  },
  {
    "text": "what's the weather today",
    "intent": "None",
    "entities": []
  },
  {
    "text": "what's your name",
    "intent": "None",
    "entities": []
  }
]
Perform Batch Testing
 
- Click on the "Test" button on the top right-hand side of the screen (Besides the "Train" button).
- A dock panel will appear to test the application.
- On the panel, there is a "Batch testing panel" link.Click to Enlarge
- The batch testing panel will come. Click on the "Import" button.Click to Enlarge
- A pop up window will appear where you can select the JSON file, enter the test name and click on the "Done" button.Click to Enlarge
- A batch test gets added.Click to Enlarge
How To Run The Batch Test?
 
- Click on the "Run" button.
- Once the execution is completed, the state column value is changed from "Run" to "See results".Click to Enlarge
- Click on the "See results" to check the result.Click to Enlarge
| Posted By  - | Karan Gupta | 
|  | 
| Posted On  - | Monday, November 9, 2020 |