Articles → MICROSOFT BOT FRAMEWORK → Batch testing in LUIS

Batch testing in LUIS






Purpose of batch testing





Create a JSON file








Picture showing the list of application created in the LUIS portal.

Click to Enlarge



Picture showing the Manage tab inside the project details screen

Click to Enlarge



Picture showing the versions option in the left-hand side menu

Click to Enlarge



Picture showing the Export As Json option in the Export menu

Click to Enlarge





[
  {
    "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










Picture showing the batch testing option

Click to Enlarge



Picture showing the import option for importing the json file for batch testing

Click to Enlarge



Picture showing the import screen for importing the json for the batch testing

Click to Enlarge



Picture showing the batch test added when json is imported for batch testing

Click to Enlarge


How to run the batch test?








Picture showing the execution status as success when batch test is executed

Click to Enlarge



Picture showing the result of the batch testing in graph format

Click to Enlarge


Posted By  -  Karan Gupta
 
Posted On  -  Monday, November 9, 2020

Query/Feedback


Your Email Id  
 
Subject 
 
Query/FeedbackCharacters remaining 250