{"id":23053997,"url":"https://github.com/emcecs/mongoose-xml-result-convertor","last_synced_at":"2025-07-05T10:33:39.415Z","repository":{"id":50121233,"uuid":"170090178","full_name":"EMCECS/mongoose-xml-result-convertor","owner":"EMCECS","description":"The script allows to convert the mongoose logs to the xml format.","archived":false,"fork":false,"pushed_at":"2021-06-03T19:10:48.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-02-08T18:45:42.373Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EMCECS.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-11T08:03:27.000Z","updated_at":"2021-06-03T19:10:51.000Z","dependencies_parsed_at":"2022-09-24T18:06:23.441Z","dependency_job_id":null,"html_url":"https://github.com/EMCECS/mongoose-xml-result-convertor","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fmongoose-xml-result-convertor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fmongoose-xml-result-convertor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fmongoose-xml-result-convertor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EMCECS%2Fmongoose-xml-result-convertor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EMCECS","download_url":"https://codeload.github.com/EMCECS/mongoose-xml-result-convertor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246939177,"owners_count":20857916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-16T00:32:25.873Z","updated_at":"2025-04-03T04:40:43.920Z","avatar_url":"https://github.com/EMCECS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mongoose-xml-result-convertor\nThe script allows to convert the mongoose logs to the xml format.\n\n### Environemnt\n* Python 3\n* Python 2 (use `xml-comvertor_py2.py`)\n\n### Usage\n\nGo to the project root and run the script:\n```\npython xml-converter/xml-converter.py -l $HOME/.mongoose/\u003cversion\u003e/log\n```\nTo create a file, use output redirection:\n```\npython xml-converter/xml-converter.py -l $HOME/.mongoose/\u003cversion\u003e/log  \u003e  \u003cfilename\u003e.xml\n```\n\n[Pravega](https://github.com/emc-mongoose/mongoose-storage-driver-pravega) specific output:\n```\npython xml-converter/xml-converter.py -l $HOME/.mongoose/\u003cversion\u003e/log -p\n```\n\n### Output format\n\n1. Tag `id` == mongoose `load-step-id`\n2. Each line `\u003cresult id= ... /\u003e` == test summary of 1 Load step.\n3. Each Load step is located in a separate directory `.../log/\u003cload_step_id\u003e`. The script combines all Load step summary into a single Result XML report.\n\n## Default\n```\n\u003cresult\u003e\n\u003cresult id=\"linear_20200129.050404.509\" StartDate=\"2020-01-29 05:04:25.820000\" StartTimestamp=\"1580263465.0\" EndDate=\"2020-01-29 05:04:45.409000\" EndTimestamp=\"1580263485.409\" operation=\"CREATE\" threads=\"1\" RequestThreads=\"1\" clients=\"1\" error=\"0\" runtime=\"20.409\" filesize=\"1MB\" tps=\"75002.65\" tps_unit=\"op/s\" bw=\"7.86459787264E10\" bw_unit=\"MB/s\" latency=\"5.619490511403867\" latency_unit=\"us\" latency_min=\"2\" latency_loq=\"2\" latency_med=\"3\" latency_hiq=\"3\" latency_max=\"146521\" duration=\"22.971041051315144\" duration_unit=\"us\" duration_min=\"8\" duration_loq=\"10\" duration_med=\"11\" duration_hiq=\"13\" duration_max=\"210329\"/\u003e\n\u003cresult id=\"linear_20200123.211156.039\" .../\u003e\n...\n\u003c/result\u003e\n```\n\n## Pravega specific\n```\n\u003cresult\u003e\n\u003cresult id=\"linear_20200123.211340.379\" operation=\"READ\" pods=\"1\" segment_size=\"1\" producers=\"1\" RequestThreads=\"0\" clients=\"1\" filesize=\"1B\" tps=\"141238.17142857143\" tps_unit=\"records/s\" bw=\"141238.17142857143\" bw_unit=\"MB/s\" avglatency=\"3.9725487097832826\" latency_unit=\"us\" minavglatency=\"2\" latency_loq=\"3\" avg50latency=\"3\" latency_hiq=\"3\" maxavglatency=\"73170\"/\u003e\n\u003cresult id=\"linear_20200123.211156.031\" operation=\"READ\" .../\u003e\n...\n\u003c/result\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcecs%2Fmongoose-xml-result-convertor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femcecs%2Fmongoose-xml-result-convertor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femcecs%2Fmongoose-xml-result-convertor/lists"}