Skip to content

Instantly share code, notes, and snippets.

Amber Race ambertests

  • Seattle, WA
Block or report user

Report or block ambertests

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ambertests
ambertests / middleware.py
Last active Jan 10, 2019
Example of a Hoverfly middleware script which creates a response based on csv lookup
View middleware.py
#!/usr/local/bin/python3
import sys, csv
import json
import logging
logging.basicConfig(filename='middleware.log', level=logging.DEBUG)
logging.debug('middleware called')
tokens = {}
@ambertests
ambertests / SimpleServiceCaller.cs
Created Dec 14, 2018
Code Samples for WireMock.Net Walkthrough
View SimpleServiceCaller.cs
using System;
using System.Net;
using RestSharp;
using Newtonsoft.Json;
namespace WireMockSample
{
public class SimpleServiceCaller
{
private readonly string _baseUrl;
You can’t perform that action at this time.