Skip to content

Instantly share code, notes, and snippets.

View SkySchulz's full-sized avatar

Sky Schulz SkySchulz

  • San Francisco Bay Area
View GitHub Profile
@SkySchulz
SkySchulz / keybase.md
Created October 29, 2019 15:51
Keybase proof

Keybase proof

I hereby claim:

  • I am skyschulz on github.
  • I am skyping (https://keybase.io/skyping) on keybase.
  • I have a public key ASDaqDfMTARoWiyVQH9dZieb6D3GItqqxY-xbv_ZTzwDOgo

To claim this, I am signing this object:

@SkySchulz
SkySchulz / RequestWrapper
Created September 10, 2014 16:18
gatling formParamMap fails to expand EL references
def httpPost(name: String, endPoint: Endpoint, request: KandoRequest, checks: HttpCheck*) = {
val label = s"${endPoint.name}.${name}"
val paramMap = request.header.params ++ request.params
exec(
http(label)
.post(session => endPoint.url + "?agentId=" + Properties.sim.agentId + "&userId=" + session.userId)
.virtualHost(endPoint.vhost)
.debugHeader(endPoint.debug)
.headers(request.header.headers)
.formParamMap(paramMap)