Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 0 dislike
629 views
by Contributing Tester (26 points)
retagged by
I create a .HAR file that shows all the interactions of Selenium WebDriver and how much time it took to be processed. I need to put that .HAR file (it is in JSON) to ElasticSearch TimeSeriesDataBase - TSDB and then connect it to Grafana as a graph.

I have a problem putting the .HAR file into ElasticSearch. It might be needed to be converted to .JSON.
by The go-to Tester (181 points)
What problem are you facing. Can you paste the error log by replying to this comment?
by Contributing Tester (26 points)
I meant, that I don't know how to put the .HAR file in ElasticSearch.

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)

Have you tried below command?

$ curl -s -XPOST localhost:9200/_bulk --data-binary @YourHARFilePath

Note: @is important before the file path

 

Hope that helps!


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

1.4k questions

1.6k answers

866 comments

1.9k users

...