Skip to content

Releases: namigop/BeeRock

BeeRock v1.5 Release

26 May 05:24
Compare
Choose a tag to compare

Note:

  • The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
  • The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7.

New in BeeRock v1.5

  • Added support for creating mock services without using a swagger doc. Please see How to create mock APIs without swagger
  • Added support for querying the request body with JPath (or xpath for XML requests)
    Ex. myvar = context.Request.Get(Jpath_or_Xpath_here)

Fixes

  • Fixed a defect on the matching of route templates
  • Fix to builtin RMQclient. More parameters supported
  • Fix to loading of dynamic services (w/o swagger) that has the same name as compiled services (w/ swagger)

BeeRock v1.4 Release

15 Mar 02:34
Compare
Choose a tag to compare

Note:

  • The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
  • The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7.

New in BeeRock v1.4

  • Added support for creating mock services without using a swagger doc

  • Removed API bee.Context.Response.SetContentType(..). Please use bee.Headers.Response.Add("Content-Type", "mycontent/type") instead

  • Removed TextmateSharp for better performance. Switched to custom syntax highlighting

  • Added API, queryString to allow access of query string variables within the python scripts
    Example usage: queryString.Get("param")

  • Added 3 more parameters to API bee.RmqClient, durable, exclusive and autodelete
    Example usage :

    Note: there will be an additional fix in the upcoming v1.4.1 for the API below. Please do not use for now
    1. <<bee.Rmq.Publish("hostName", "queue", "exchange", "routingKey", "message")>> //uses default values for the 3 params
    2. <<bee.Rmq.Publish("hostName", "queue", "exchange", "routingKey", "message", durable=True, exclusive=False, autodelete=False)>>

Fixes

  • Fixed defect on the continuous saving of new rules for newly added services.
  • Fixed memory leaks

BeeRock v1.3.1 Release

17 Feb 01:57
Compare
Choose a tag to compare

Note:

  • The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
  • The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7.

New in BeeRock v1.3

  • Added a built-in reverse proxy

    • Click on the reverse proxy button to run it
      image

    • Configure the routing rules. Catch-all rules must be at the bottom
      image

  • Fixed a memory leak when that happens when switching between tabs

  • Workaround Fix : ListenToAnyIP() not called in Linux. As such, any mocked service and the built-in reverse proxy is only reachable via localhost

BeeRock v1.2 Release

02 Feb 02:17
Compare
Choose a tag to compare

Note:

  • The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
  • The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7. Convenient, but makes the build bigger.

New in BeeRock v1.2

  • (experimental) Added support for proxying http requests

    • call <<bee.Proxy.ForwardToServer("https://mytargetserver")>> to forward the request another server
    • call <<bee.Proxy.ForwardToUrl("https://mytargetserver")>> to forward the request, fully specifying the target url

    Note: HTTP request and response headers are copied from when requests are proxied

  • Added support for logging from python scripts

    • call <<bee.Log.Info("message")>> to log an info message
    • call <<bee.Log.Error("message")>> to log an error message
    • call <<bee.Log.Warn("message")>> to log a warning message
    • call <<bee.Log.NewLine()>> to log an empty new line
  • Added support for bypassing swagger schema validations on responses

    • call <<bee.Context.Response.SetAsPassThrough()>> to indicate that the response should not be validated against the swagger schema
    • call <<bee.Context.Response.SetContentType("contentType")>> to manually specify the content type of the response
    • call <<bee.Context.Response.SetStatusCode(int:statusCode)>> to manually specify the status code type of the response

    For example:

    image

  • Added support to manually control the http request and response headers

    • Get a header
      Ex. <<headers.Request.Get("key")>>
      Ex. <<headers.Response.Get("key")>>
    • Add or overwrite a header
      Ex. <<headers.Request.Add("key", "value")>>
      Ex. <<headers.Response.Add("key", "value")>>
    • Remove a header
      Ex. <<headers.Request.Remove("key")>>
      Ex. <<headers.Response.Remove("key")>>
  • Improved logging to included proxied http responses

  • UI fixes

BeeRock v1.1 Release

23 Jan 07:26
Compare
Choose a tag to compare

Note:

  • The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
  • The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7. Convenient, but makes the build bigger.

New in BeeRock v1.1

  • Added support for multiple rules. The first rule that returns true gets executed
    image

  • Helper "bee" variable added to the python scripting support.

    • Send a file response

      image

    • Send a message to RabbitMQ

      image

    • Forward/proxy the http request to another server
      image

    • Run an external python script
      image

  • Added default imports to for simpler python one-liners.

  import clr
  import time
  import statistics
  import datetime
  import os
  import re
  import math
  import random
  import json
  import copy
  import System
  • Added support for multi-line python scripts. Default imports are not added for multiline scripts so please add your own import statements. Additionally, a run method MUST be defined

    image

  • Added button to show error message for 4xx and 5xx responses

    image

  • Performance enhancements / lower memory usage

BeeRock v1.0 Release

03 Jan 02:11
Compare
Choose a tag to compare

Features

  • Generate a mock rest service based on json swagger doc. Add the swagger doc as a file or a URL

  • Responses of the mock service are editable in a UI

  • Supports comments in the UI response editor. Comments must start with "double slash" // and must be in its own line
    image

  • Specify a port where the mock service will run

  • Manually stop or start a mock service

  • Responses can be "hardcoded" or dynamically generated with Python (IronPython) macros
    anything between "double angle brackets" << >> is executed as a python script

    image

  • Python scripting can use variables from query parameters, route parameters, http headers

  • Supports configurable delays in the response. Useful for simulating slow networks

  • Supports mocking of routes that returns a file

  • Support dynamic filtering/matching of requests using Python macros that returns true/false. Requests that are not matched will get a HTTP 503 response

  • Multiple tabs for running mock services in parallel

  • Responses for multiple routes can be worked on in parallel

  • All changes are auto-saved (every 15 sec) so you don't lose your work

  • Production-grade server. No compromise on performance

  • Saves the service information into a DB for quick access

  • Management screen for deleting saved mock services

  • Routes marked as obsolete are greyed-out

  • Beautiful dark-theme UI

Note:

  • The uploaded builds in this release are not signed. Your OS will likely not be happy with it. Please see Install Instructions.
  • Also, I do not have a linux machine so I have not tested the linux build. If someone could try it out, that'd be great!
  • The uploaded *.zip files are "self-contained" builds and you do not need to install .NET 7. Convenient, but makes the build bigger.

BeeRock v0.1.0-alpha

05 Dec 15:40
b1f9a76
Compare
Choose a tag to compare
BeeRock v0.1.0-alpha Pre-release
Pre-release

Initial Release

Windows Installation

  1. To install, extract the zip file to anywhere to any folder.
  2. Run BeeRock.exe. See Quickstart guide on how to mock a service

**MacOS installation (TO FOLLOW)