Find Jobs
Hire Freelancers

Write a custom JUNIT(XML) to Elasticsearch(JSON) parser in Python

€30-250 EUR

処理中
投稿日: 4年近く前

€30-250 EUR

完了時にお支払い
The requirement is to write a PEP-8 compliant, well documented Python code that takes user-driven inputs and parse the contents recursively. Followup queries on the code should be answered via email form your end. There is some sample data below this folder, you will need to translate it from the .xml and .properties file into json data that is suitable for importation into elasticsearch where it will be searchable - all fields should be searchable. We need the following items in each test result: • junit results are split into collections of suites, which have a known name. Each suite has a stdout and stderr. • testsuite has: ○ file, name, stdout, stderr, duration, timestamp and time ○ Each suite is split into one or more testcases, each case has the following mandatory information: § duration, className, testName, skipped, failedSince ○ In the case of failed/error testcases you will also have: § errorStackTrace • You can determine if a test has failed by the presence of a non-zero value in the failedSince field. • From the test results themselves we need the following information in every test case result: ○ file, name, timestamp • From the run properties we need the following information: ○ brand, revision, runtype, category, job_name •         From the foldername, we have the job_number In every test case we will need the following information: ○ duration, className, testName, skipped You will need to calculate the following pieces of information: • passed (boolean) - based on the failedSince value being non-zero • starttime (datetime) - take suite start time, add all prior durations of testcases to get an estimated start time • id - a unique id based on the testcase If there are required target fields for the results and they not mentioned in these requirements then they need to be filled in as empty. target elastic document structure: {    job_number: integer,    brand: string,    revision: integer,    runtype: string,    category: string,    job_name: string,    file: string,    name: string,    timestamp: timestamp,    classname: string,    testname: string,    duration: numeric,    skipped: boolean,    passed: boolean,    starttime: timestamp,    stdout: string,    stderr: string,    id: string } Desired outcome of your delivery should include: A functioning script that: • takes a source directory to start from. • reads the results in the directories. • Produce as output new-line delimited json documents for import into elasticsearch. The output json should be configurable to output to either : • stdout (all output) • folder - files named: <job_name>_<job_number>.json In the folder option, the folder should exist before the processing of data. Important notes: • The file should be pep-8 clean • The file should be documented. Include desertion for functions, imports, any parsing logic implemented. The parse from XML to JSON be done in two passes.
プロジェクト ID: 25876173

プロジェクトについて

1個の提案
リモートプロジェクト
アクティブ 4年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に1人のフリーランサーが、平均€120 EURで入札しています
ユーザーアバター
Hi, Sir!! i am a python expert and full-stack developer with full time. -):-):-) i want to help you with my python skills :-):-):-) “””” Specially Data Science , Data Analysis “””” i use sklearn , Tensorflow, keras for Machine Learning , Deep Learning, NTLK for Natural Language Processing, OpenCV for Image Processing, pandas for Data Analaysis, selenium and beautiful soup for scrapping, kivy, tkinder, PyQt for GUI, Django, Flask, bottle for Backend.... @@PLEASE GIVE ME CHANCE TO PROVE MY SKILLS@@ if you HIRE me, i will do my best to complete your project perfectly in time. Thanks for attention. Best Regards.
€120 EUR 3日以内
5.0 (4 レビュー)
3.6
3.6

クライアントについて

IRELANDのフラグ
Athlone, Ireland
0.0
0
お支払い方法確認済み
メンバー登録日:6月 4, 2020

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。