Failed to upload result file in CSV format [2]
0UserName opened this issue · 1 comments
Can you provide more information about the format, because according to #7 I can use any order of submission, if it is the same as in the file.
The timestamp must be always in the first column so we do not point it, everything else must be entered with the same order as in CSV file, all non-mandatory columns your can name as you want.
Specified file:
1575228262138,422,200,true,https://bla-bla/api/Auth/SignIn
1575228262111,449,200,true,https://bla-bla/api/Auth/SignIn
Specified fields:
response_time,responseCode,success,url
The latest version from the master branch is used. When I try to upload a file, I get an error message:
Environment:
Request Method: POST
Request URL: http://localhost:8888/analyzer/upload/test_result_file/Django Version: 1.11.20
Python Version: 3.6.9
Installed Applications:
['django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'analyzer',
'online',
'controller',
'jltc_web',
'administrator']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']Traceback:
File "/usr/local/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner
41. response = get_response(request)File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
187. response = self.process_exception_by_middleware(e, request)File "/usr/local/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response
185. response = wrapped_callback(request, *callback_args, **callback_kwargs)File "/JMeter-Control-Center/analyzer/views/analyzer_views.py" in upload_test_result_file
92. jmeter_results_file_fields=csv_file_fields)File "/JMeter-Control-Center/controller/views/data_generator.py" in generate_test_results_data
223. )].groupby(pd.TimeGrouper(freq=data_resolution))Exception Type: AttributeError at /analyzer/upload/test_result_file/
Exception Value: module 'pandas' has no attribute 'TimeGrouper'