Compare commits
27 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7e7022aefb | ||
|
|
68e5def132 | ||
|
|
ee4dce2985 | ||
|
|
04826f19d1 | ||
|
|
baeae75a9f | ||
|
|
543703bfea | ||
|
|
10e338e4ac | ||
|
|
4848565163 | ||
|
|
1987815c60 | ||
|
|
25fef6af16 | ||
|
|
89c8ba4238 | ||
|
|
ffdb35ecb6 | ||
|
|
061abcdf8f | ||
|
|
b140275717 | ||
|
|
7f275d9552 | ||
|
|
e1672a5237 | ||
|
|
fedcaf1252 | ||
|
|
321048c624 | ||
|
|
bf7844c82c |
||
|
|
1d9bd456fb | ||
|
|
5d7d73edf2 | ||
|
|
981a8a1407 | ||
|
|
269cf00a69 | ||
|
|
3fea1e3e76 | ||
|
|
48322c5f1e | ||
| 76b0ee5b79 | |||
|
|
5309c20ab2 |
5 changed files with 1 additions and 156 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +0,0 @@
|
|||
/wbox-5.tar.gz
|
||||
1
dead.package
Normal file
1
dead.package
Normal file
|
|
@ -0,0 +1 @@
|
|||
Orphaned for 6+ weeks
|
||||
1
sources
1
sources
|
|
@ -1 +0,0 @@
|
|||
a95ca2c69982db10704b5ed482c9c722 wbox-5.tar.gz
|
||||
93
wbox.1
93
wbox.1
|
|
@ -1,93 +0,0 @@
|
|||
.TH WBOX 1 "December 10, 2009"
|
||||
.SH NAME
|
||||
wbox \- HTTP testing tool and configuration-less HTTP server
|
||||
.SH SYNOPSIS
|
||||
\fBwbox\fP <url> [ options ]
|
||||
.br
|
||||
\fBwbox\fP servermode webroot <path> [serverport <portnumber> (def 8081)]
|
||||
.PP
|
||||
.SH DESCRIPTION
|
||||
\fIwbox\fP aims to help you having fun while testing HTTP related stuff. You can use it to perform many tasks, including the following:
|
||||
.PP
|
||||
- Benchmarking how much time it takes to generate content for your web application.
|
||||
.PP
|
||||
- Web server and web application stressing.
|
||||
.PP
|
||||
- Testing virtual domains configuration without the need to alter your local resolver.
|
||||
.PP
|
||||
- Use it as a \fBconfiguration-less HTTP server\fP to share files!
|
||||
.SH OPTIONS
|
||||
|
||||
.PP
|
||||
.TP
|
||||
.I <number>
|
||||
Stop after <number> requests
|
||||
.TP
|
||||
.I compr
|
||||
Send Accept-Encoding: gzip,deflate in request
|
||||
.TP
|
||||
.I showhdr
|
||||
Show the HTTP reply header
|
||||
.TP
|
||||
.I dump
|
||||
Show the HTTP reply header + body
|
||||
.TP
|
||||
.I silent
|
||||
Don't show status lines
|
||||
.TP
|
||||
.I head
|
||||
Use the HEAD method instead of GET
|
||||
.TP
|
||||
.I http10
|
||||
Use HTTP/1.0 instead of HTTP/1.1
|
||||
.TP
|
||||
.I close
|
||||
Close the connection after reading few bytes
|
||||
.TP
|
||||
.I host <hostname>
|
||||
Use <hostname> as Host: field in HTTP request
|
||||
.TP
|
||||
.I timesplit
|
||||
Show transfer times for different data chunks
|
||||
.TP
|
||||
.I wait <number>
|
||||
Wait <number> seconds between requests. Default 1.
|
||||
.TP
|
||||
.I clients <number>
|
||||
Spawn <number> concurrent clients (via fork()).
|
||||
.TP
|
||||
.I referer <url>
|
||||
Send the specified referer header.
|
||||
.TP
|
||||
.I cookie <name> <val>
|
||||
Set cookie name=val, can be used multiple times.
|
||||
.TP
|
||||
.I maxclients <number>
|
||||
Max concurrent clients in \fBserver mode\fI (default 20).
|
||||
.TP
|
||||
.I \-h or \-\-help
|
||||
Show this help.
|
||||
.TP
|
||||
.I \-v
|
||||
Show version.
|
||||
.SH USAGE EXAMPLES
|
||||
.LP
|
||||
wbox wikipedia.org (simplest, basic usage)
|
||||
.LP
|
||||
wbox wikipedia.org 3 compr wait 0 (three requests, compression, no delay)
|
||||
.LP
|
||||
wbox wikipedia.org 1 showhdr silent (just show the HTTP reply header)
|
||||
.LP
|
||||
wbox wikipedia.org timesplit (show splitted time information)
|
||||
.LP
|
||||
wbox 1.2.3.4 host example.domain (test a virtual domain at 1.2.3.4)
|
||||
.LP
|
||||
wbox servermode webroot /tmp/mydocuments (Try it with http://127.0.0.1:8081)
|
||||
.SH TUTORIAL
|
||||
Wbox is trivial to use but, in order to understand better what wbox is and how to use it,
|
||||
you may want to read the TUTORIAL inside the /usr/share/doc/wbox/ directory.
|
||||
.SH AUTHOR
|
||||
wbox was written by Salvatore 'antirez' Sanfilippo <antirez@gmail.com>.
|
||||
.PP
|
||||
This manual page was written by Alberto Furia <straluna@email.it>,
|
||||
for the Debian project (and may be used by others).
|
||||
61
wbox.spec
61
wbox.spec
|
|
@ -1,61 +0,0 @@
|
|||
Name: wbox
|
||||
Version: 5
|
||||
Release: 6%{?dist}
|
||||
Summary: HTTP testing tool and configuration-less HTTP server
|
||||
|
||||
License: BSD
|
||||
URL: http://www.hping.org/wbox/
|
||||
Source0: http://www.hping.org/%{name}/%{name}-%{version}.tar.gz
|
||||
# Man page from http://patch-tracker.debian.org/patch/debianonly/view/wbox/5-1
|
||||
Source1: wbox.1
|
||||
|
||||
%description
|
||||
Wbox aims to help you having fun while testing HTTP related stuff.
|
||||
You can use it to perform many tasks, including the following.
|
||||
* Benchmarking how much time it takes to generate content
|
||||
for your web application.
|
||||
* Web server and web application stressing.
|
||||
* Testing virtual domains configuration without the need to alter
|
||||
your local resolver.
|
||||
* Check if your redirects are working correctly emitting
|
||||
the right HTTP code.
|
||||
* Test if the HTTP compression is working and if it is actually
|
||||
serving pages faster.
|
||||
* Use it as a configuration-less HTTP server to share files!
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
make %{?_smp_mflags} CFLAGS="%{optflags}"
|
||||
|
||||
%install
|
||||
install -Dp -m 0755 %{name} %{buildroot}%{_bindir}/%{name}
|
||||
install -Dp -m 0644 %{SOURCE1} %{buildroot}%{_mandir}/man1/%{name}.1
|
||||
|
||||
%files
|
||||
%doc AUTHORS Changelog COPYING README
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%changelog
|
||||
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Feb 27 2013 Fabian Affolter <mail@fabian-affolter.ch> - 5-5
|
||||
- Whitespaces removed
|
||||
- Comment added
|
||||
|
||||
* Thu Jan 10 2012 Fabian Affolter <mail@fabian-affolter.ch> - 5-4
|
||||
- Minor updates
|
||||
|
||||
* Tue Dec 27 2011 Athmane Madjoudj <athmane@fedoraproject.org> - 5-3
|
||||
- Use version macro
|
||||
- Remove rm -rf buildroot
|
||||
|
||||
* Mon Dec 19 2011 Athmane Madjoudj <athmane@fedoraproject.org> - 5-2
|
||||
- Add manpage from Debian project
|
||||
- Some minor fixes
|
||||
|
||||
* Mon Dec 19 2011 Athmane Madjoudj <athmane@fedoraproject.org> - 5-1
|
||||
- Initial spec
|
||||
Loading…
Add table
Add a link
Reference in a new issue