Sponsored Content
Top Forums UNIX for Beginners Questions & Answers 3rd party stress testing services Post 303042810 by vbe on Tuesday 7th of January 2020 01:28:48 PM
Old 01-07-2020
Greetings and welcome!

You have not explained what kind of production box you have,
Quote:
I'm looking at test upload/download of 150 - 200 gb an hour, but via multiple accounts at once (50ish or more).
I understand that you are talking of a Web server, am I right? I know HP has something for stressing servers but it seems to only work if the apps are written in Java...
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

root cron was override w/ 3rd party software

Hi Guys, I'm new in Unix Environment. Any Unix Guru around...I need help. My question is, is it possible that the root cron could be override with 3rd party software?How can it happen. Another thing, how the cron job works?, I mean how the Unix process the cron job , I don't have an idea... (2 Replies)
Discussion started by: kupal
2 Replies

2. Shell Programming and Scripting

How to pass variables to 3rd party unix menu?

Hello, I was wondering if it is possible to pass data to a unix driven 3rd party menu. Changing the code is out of the question. I have a menu with various options and I would like a ksh to execute the menu and input the required fields. For example. Main menu 1. Company Name 2. blah... (3 Replies)
Discussion started by: ctcuser
3 Replies

3. AIX

3rd Party Utilities to read Syslog

I'm new to UNIX / AIX and I'm trying to determine the best way to monitor the SYSLOG output generated from our RS6000. I apologize if there is another thread that already addresses this issue, I scanned the threads, but didn't see anything. Thanks in advance, Rosemary (0 Replies)
Discussion started by: ratrahan
0 Replies

4. AIX

finding 3rd party Applications installed on AIX

Hi,. I want to know how to find out 3rd party application installed on aix, example Oracle database if it is installed on aix box it is not showing as installed using lslpp -l command Regards, Manoj (1 Reply)
Discussion started by: manoj.solaris
1 Replies

5. Programming

Stress testing memory using malloc in linux ??

Hi to all, Recently i am testing an equipment that runs in i586 fedora linux. I have to test mmap function. For that i determined to fill the memory and run the required application to check whether it throws any mmap error regarding low resources. This is the line that does the allocation. ... (3 Replies)
Discussion started by: frozensmilz
3 Replies

6. Linux

Will installing LINUX mean reinstalling my 3rd party apps?

Hi all, Long time UNIX admin, first time LINUX user. So I'm finally at the last straw with Windows. I hate it. I've always hated it but the wife was scared of change so I kept it going. But Window's insistence on "protecting" me by preventing me access to certain areas created hours of work... (14 Replies)
Discussion started by: Korn0474
14 Replies

7. Shell Programming and Scripting

Stress testing php files at Unix/Linux Command line

Hi, Your great help is very appreciated. I am looking for any Unix command or tool for doing Stress/Load test of php files at command prompt. I tried torture.pl but it is not working after20 concurrent threads/users. as it is very urgent for me..please suggest ur ideas asap. thanks (5 Replies)
Discussion started by: Malleswari
5 Replies

8. UNIX for Dummies Questions & Answers

Problem compiling 3rd party g++ program

I'm trying to compile a 3rd party program used for solid-state chemistry that calculates pore characteristics of an input material. The program was written between 2000 and 2006, so I believe the problem is that the headers used are outdated, but I'm not terribly computer savvy (and a complete... (1 Reply)
Discussion started by: motrax
1 Replies

9. Shell Programming and Scripting

No such file or directory for 3rd party software

I am trying to use the KiFMM3D software with my code. I am compiling code in C++ and everything looks fine but I am getting an "no such file or directory" error regarding the KiFMM3d code. The exact error message is : In file included from... (0 Replies)
Discussion started by: larry burns
0 Replies

10. Cybersecurity

Best practice to allow 3rd party app to read messages file.

What is the best practice to allow a 3rd party health monitoring app to read the messages file. Since messages is a system file and is owned by root the app cannot read the file. I don't want to run the app as root so how should I allow the app to read the file. The read function is actually built... (2 Replies)
Discussion started by: slwiley
2 Replies
Dancer::Test(3pm)					User Contributed Perl Documentation					 Dancer::Test(3pm)

NAME
Dancer::Test - Test helpers to test a Dancer application SYNOPSYS
use strict; use warnings; use Test::More tests => 2; use MyWebApp; use Dancer::Test; response_status_is [GET => '/'], 200, "GET / is found"; response_content_like [GET => '/'], qr/hello, world/, "content looks good for /"; DESCRIPTION
This module provides test helpers for testing Dancer apps. Be careful, the module loading order in the example above is very important. Make sure to use "Dancer::Test" after importing the application package otherwise your appdir will be automatically set to "lib" and your test script won't be able to find views, conffiles and other application content. For all test methods, the first argument can be either an array ref of the method and route, or a scalar containing the route (in which case the method is assumed to be "GET"), or a Dancer::Response object. # all 3 are equivalent response_status_is [ GET => '/' ], 200, 'GET / status is ok'; response_status_is '/', 200, 'GET / status is ok'; my $resp = dancer_response GET => '/'; response_status_is $resp => 200, 'GET / status is ok'; METHODS
route_exists([$method, $path], $test_name) Asserts that the given request matches a route handler in Dancer's registry. route_exists [GET => '/'], "GET / is handled"; route_doesnt_exist([$method, $path], $test_name) Asserts that the given request does not match any route handler in Dancer's registry. route_doesnt_exist [GET => '/bogus_path'], "GET /bogus_path is not handled"; response_exists([$method, $path], $test_name) Asserts that a response is found for the given request (note that even though a route for that path might not exist, a response can be found during request processing, because of filters). response_exists [GET => '/path_that_gets_redirected_to_home'], "response found for unknown path"; response_doesnt_exist([$method, $path], $test_name) Asserts that no response is found when processing the given request. response_doesnt_exist [GET => '/unknown_path'], "response not found for unknown path"; response_status_is([$method, $path], $status, $test_name) Asserts that Dancer's response for the given request has a status equal to the one given. response_status_is [GET => '/'], 200, "response for GET / is 200"; response_status_isnt([$method, $path], $status, $test_name) Asserts that the status of Dancer's response is not equal to the one given. response_status_isnt [GET => '/'], 404, "response for GET / is not a 404"; response_content_is([$method, $path], $expected, $test_name) Asserts that the response content is equal to the $expected string. response_content_is [GET => '/'], "Hello, World", "got expected response content for GET /"; response_content_isnt([$method, $path], $not_expected, $test_name) Asserts that the response content is not equal to the $not_expected string. response_content_isnt [GET => '/'], "Hello, World", "got expected response content for GET /"; response_content_is_deeply([$method, $path], $expected_struct, $test_name) Similar to response_content_is(), except that if response content and $expected_struct are references, it does a deep comparison walking each data structure to see if they are equivalent. If the two structures are different, it will display the place where they start differing. response_content_is_deeply [GET => '/complex_struct'], { foo => 42, bar => 24}, "got expected response structure for GET /complex_struct"; response_content_like([$method, $path], $regexp, $test_name) Asserts that the response content for the given request matches the regexp given. response_content_like [GET => '/'], qr/Hello, World/, "response content looks good for GET /"; response_content_unlike([$method, $path], $regexp, $test_name) Asserts that the response content for the given request does not match the regexp given. response_content_unlike [GET => '/'], qr/Page not found/, "response content looks good for GET /"; response_headers_are_deeply([$method, $path], $expected, $test_name) Asserts that the response headers data structure equals the one given. response_headers_are_deeply [GET => '/'], [ 'X-Powered-By' => 'Dancer 1.150' ]; response_headers_include([$method, $path], $expected, $test_name) Asserts that the response headers data structure includes some of the defined ones. response_headers_include [GET => '/'], [ 'Content-Type' => 'text/plain' ]; dancer_response($method, $path, { params => $params, body => $body, headers => $headers, files => [{filename => '/path/to/file', name => 'my_file'}] }) Returns a Dancer::Response object for the given request. Only $method and $path are required. $params is a hashref, $body is a string and $headers can be an arrayref or a HTTP::Headers object, $files is an arrayref of hashref, containing some files to upload. A good reason to use this function is for testing POST requests. Since POST requests may not be idempotent, it is necessary to capture the content and status in one shot. Calling the response_status_is and response_content_is functions in succession would make two requests, each of which could alter the state of the application and cause Schrodinger's cat to die. my $response = dancer_response POST => '/widgets'; is $response->{status}, 202, "response for POST /widgets is 202"; is $response->{content}, "Widget #1 has been scheduled for creation", "response content looks good for first POST /widgets"; $response = dancer_response POST => '/widgets'; is $response->{status}, 202, "response for POST /widgets is 202"; is $response->{content}, "Widget #2 has been scheduled for creation", "response content looks good for second POST /widgets"; It's possible to test file uploads: post '/upload' => sub { return upload('image')->content }; $response = dancer_response(POST => '/upload', {files => [{name => 'image', filename => '/path/to/image.jpg'}]}); In addition, you can supply the file contents as the "data" key: my $data = 'A test string that will pretend to be file contents.'; $response = dancer_reponse(POST => '/upload', { files => [{name => 'test', filename => "filename.ext", data => $data}] }); read_logs my $logs = read_logs; Returns an array ref of all log messages issued by the app since the last call to "read_logs". For example: warning "Danger! Warning!"; debug "I like pie."; is_deeply read_logs, [ { level => "warning", message => "Danger! Warning!" }, { level => "debug", message => "I like pie.", } ]; error "Put out the light."; is_deeply read_logs, [ { level => "error", message => "Put out the light." }, ]; See Dancer::Logger::Capture for more details. LICENSE
This module is free software and is distributed under the same terms as Perl itself. AUTHOR
This module has been written by Alexis Sukrieh <sukria@sukria.net> SEE ALSO
Test::More perl v5.14.2 2012-03-31 Dancer::Test(3pm)
All times are GMT -4. The time now is 03:29 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy