
Security News
Node.js Moves Toward Stable TypeScript Support with Amaro 1.0
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
robotframework-httplibrary
Advanced tools
.. image:: https://secure.travis-ci.org/peritus/robotframework-httplibrary.png?branch=master :target: http://travis-ci.org/peritus/robotframework-httplibrary
robotframework-httplibrary is a Robot Framework <http://code.google.com/p/robotframework/>
_ test library for all your HTTP
needs. It uses livetest <http://pypi.python.org/pypi/livetest>
_ (which, in
turn uses the famous webtest <http://webtest.pythonpaste.org/>
_ library
underneath).
You can install robotframework-httplibrary via pip <http://www.pip-installer.org/>
_::
pip install --upgrade robotframework-httplibrary
API documentation can be found at
http://peritus.github.com/robotframework-httplibrary/ <http://peritus.github.com/robotframework-httplibrary/>
_, here is an example
on how to use it:
============ ================
Setting Value
============ ================
Library HttpLibrary.HTTP
============ ================
\
============ ================================= ===================================
Test Case Action Argument
============ ================================= ===================================
Example
\ [Documentation] Follows a Redirect
\ Create HTTP Context httpstat.us <http://httpstat.us>
_
\ GET /302
\ Response Status Code Should Equal 302
\ Follow Response
\ Response Body Should Contain generating different HTTP codes
============ ================================= ===================================
You can view a report <http://peritus.github.com/robotframework-httplibrary/report.html>
_ and a log <http://peritus.github.com/robotframework-httplibrary/log.html>
_ of this test executed that looks like this:
.. image:: http://peritus.github.com/robotframework-httplibrary/rfhttplib_example_test_execution.png :target: http://peritus.github.com/robotframework-httplibrary/log.html
This library is only tested on CPython. It might work on Jython, not sure.
If you want to hack on this library itself, this should get you started::
git clone https://github.com/peritus/robotframework-httplibrary.git cd robotframework-httplibrary/ python bootstrap.py ./bin/buildout
./bin/robotframework tests/
I'm very happy about patches, pull-requests and API-discussions (as this is mostly a wrapper supposed to have a nice API)!
v0.4.2
v0.4.1
v0.4.0
v0.3.4
AttributeError: 'module' object has no attribute 'set_pointer'
", you
should upgrade to this version).v0.3.3
Beerware <http://en.wikipedia.org/wiki/Beerware>
_: If we meet some day, and
you think this stuff is worth it (or need a more serious license), you can buy
me a beer in return.
FAQs
Robot Framework keywords for HTTP requests
We found that robotframework-httplibrary demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Amaro 1.0 lays the groundwork for stable TypeScript support in Node.js, bringing official .ts loading closer to reality.
Research
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.