Find Jobs
Hire Freelancers

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

€30-250 EUR

Đang triển khai
Đã đăng vào gần 4 năm trước

€30-250 EUR

Thanh toán khi bàn giao
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.
Mã dự án: 25876173

Về dự án

1 đề xuất
Dự án từ xa
Hoạt động 4 năm trước

Bạn muốn kiếm tiền?

Lợi ích khi chào giá trên Freelancer

Thiết lập ngân sách và thời gian
Nhận thanh toán cho công việc
Phác thảo đề xuất của bạn
Miễn phí đăng ký và cháo giá cho công việc
1 freelancer chào giá trung bình €120 EUR cho công việc này
Avatar người dùng
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 trong 3 ngày
5,0 (4 nhận xét)
3,6
3,6

Về khách hàng

Cờ của IRELAND
Athlone, Ireland
0,0
0
Phương thức thanh toán đã xác thực
Thành viên từ thg 6 4, 2020

Xác thực khách hàng

Cảm ơn bạn! Chúng tôi đã gửi email chứa đường link để bạn lấy tín dụng miễn phí.
Đã xảy ra lỗi trong khi gửi email của bạn. Hãy thử lại.
Người Dùng Đã Đăng Ký Tổng Số Việc Đã Đăng
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Đang tải xem trước
Đã cấp quyền truy cập vị trí.
Phiên đăng nhập của bạn đã hết hạn và bạn đã bị đăng xuất. Hãy đăng nhập lại.