Skip to content

Kibana Tests with log-to-test script #3024

Closed
@donhardman

Description

@donhardman

Proposal:

Let's implement tests for Kibana using our script to generate CLT test from the HTTP log:

  1. Start Manticore with HTTP logging enabled:
    log_http = /tmp/http.log

  2. Perform all commands to validate functionality through Kibana interface

  3. Generate initial test file using script:
    misc/http-log-to-test /tmp/http.log > test.rec

  4. Refine and modify test.rec by replacing dynamic outputs with regular expressions where needed

  5. Run and validate test:

git clone https://github.com/manticoresoftware/clt.git clt
clt/clt test -d -t test.rec ghcr.io/manticoresoftware/manticoresearch:test-kit-latest

Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation reviewed
  • Changelog updated
  • OpenAPI YAML updated and issue created to rebuild clients

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions