Skip to main content

Task Debugging

Template Testing

Read more about Template Testing

Task Test

The Task Tester allows you to test the entire preset completely, including multiple parsers and Builders. The entire process can be monitored thanks to the log display for each thread and the results view. All data is updated in real time.

Test Task in the Task Editor

The following information is available in the task tester interface:

  • Queries finished/total
    • Information about queries, number of completed ones, total number of queries
    • Maximum number of threads - 5
    • Maximum number of queries - 10
  • Current query
  • Number of failed queries
  • Query limit selection
  • Log for each of the 5 threads, where you can find full information about queries and errors
  • Parsing result field
    • If multiple result files are used, the content of each file is displayed
Task Tester

Test Parsing

On the Parser Test tab, there is an option for test parsing to create and debug your own presets. Unlike the Task Editor, there is no possibility to use query and result builders, use multiple parsers, macros are not supported, there is no multi-level parsing or other features that are supported in the task editor.

The section is designed on the principle of a unit test, where individual parsers can be tested. The entire process is output as a log, which allows you to get detailed information about the parser (preset) operation, from sending a query to receiving results:

Test parsing results

In "Test Parsing", there is a quick settings area: disabling autoscroll and enabling debug mode

By default, "autoscroll" is enabled - this means that as information is output to the log, we will automatically move down


When "autoscroll" is disabled, the icon changes its appearance - this means that as information is output to the log, we will stay in place, there will be no automatic movement down


By default, debug mode is disabled - this means that general parsing information will be output to the log.


When we activate debug mode, the icon changes its appearance and detailed parsing information will be output to the log.

In the log window with debug mode enabled, we see detailed parsing information:

Test parsing in debug mode

In the query part we can see:

  • Query name
  • Query string that is sent to the server
  • List of parameters sent with the query (headers, encoding, filters, etc.)

In the response part received from the server, we see the following information:

  • See in debug window - link to the window where the page received as a result of the query is displayed

    See in debug window
  • See full data - link to the window with the source code received as a result of the query

    See full data
  • Go to Regex Builder - link to the Regex Builder with the source code received as a result of the query

While the "autoscroll" mode is created more for viewing convenience, the "debug" mode is an indispensable tool for debugging your own parsers and presets. By analyzing the information obtained from the log in "debug" mode, we can see at what stage and what happens during task execution, how the query is formed, and what the parser receives in response.