httparty VS WebMock

Compare httparty vs WebMock and see what are their differences.

httparty

:tada: Makes http fun again! (by jnunemaker)

WebMock

Library for stubbing and setting expectations on HTTP requests in Ruby. (by bblimke)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
httparty WebMock
8 9
5,755 3,912
- -
6.1 7.9
5 days ago 5 days ago
Ruby Ruby
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

httparty

Posts with mentions or reviews of httparty. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-03-11.

WebMock

Posts with mentions or reviews of WebMock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-02-06.

What are some alternatives?

When comparing httparty and WebMock you can also consider the following projects:

Faraday - Simple, but flexible HTTP client library, with support for multiple backends.

DuckRails - Development tool to mock API endpoints quickly and easily (docker image available)

RESTClient - Simple HTTP and REST client for Ruby, inspired by microframework syntax for specifying actions.

R Spec - A minimalist RSpec clone with all the essentials. [Moved to: https://github.com/cyril/r_spec-clone.rb]

Typhoeus - Typhoeus wraps libcurl in order to make fast and reliable requests.

Fix - Specing framework.

Http Client - 'httpclient' gives something like the functionality of libwww-perl (LWP) in Ruby.

ActiveMocker - Generate mocks from ActiveRecord models for unit tests that run fast because they don’t need to load Rails or a database.

excon - Usable, fast, simple HTTP 1.1 for Ruby

Request Interceptor - Sinatra based foreign API simulation for your testsuite

HTTP - HTTP (The Gem! a.k.a. http.rb) - a fast Ruby HTTP client with a chainable API, streaming support, and timeouts

vcr - Record your test suite's HTTP interactions and replay them during future test runs for fast, deterministic, accurate tests.