Giter VIP home page Giter VIP logo

dakiya's Introduction

Dakiya (डाकिया)

Dakiya (डाकिया) means postman.

Dakiya collects Postman collections, sorts and delivers transformed scripts.

NOTE: This is an attempt to provide conversion utility for postman api's. This project is in its early stage. It has not been tested in complex postman api's.

Hosted

Start Using Dakiya Now

https://dakiya.now.sh

https://dakiya.herokuapp.com/

Video Demo

Dakiya Demo

Getting Started

  • Clone or Download the repo
  git clone https://github.com/rupeshmore/dakiya
  • Run the app
  open index.html
  • Upload Postman Collections (v2 and above)
  1. Postman environment variables collection. (optional)
  2. Postman api collections. (mandatory)
  3. Select if base url is needed in the script. (off by default)
  4. Select the load test tool for conversion.
  5. Download script file (or copy from the browser).

Features

  1. No installation: Convert postman api's using the browser.
  2. Secure: No uploading of collections to any server.
  3. Supports Postman folders.
  4. Add postman environment collection and Dakiya replaces the variables in the script.
  5. Convert postman collections to Artillery load testing script.
  6. Convert postman collections to Gatling load testing script.

Postman variables

Dakiya converts the postman variables syntax to the load testing tool syntax.

  1. Environment variables: Dakiya replaces variables within collection when environment collection is supplied.

Auth conversion in Dakiya

  1. Artillery - currently supporting only Basic auth. Other authentication/authorization will be provided as it is from postman collection.
  2. Gatling - currently supporting Basic & Digest auth. Look at the tool documentation to make relevant changes.

More Info

  1. Dakiya assumes a valid postman json schema is supplied. Take a look this blog on how to validate your collection [http://blog.getpostman.com/2015/07/02/introducing-postman-collection-format-schema/]
  2. The app has been created with limited collection examples and postman documentation. If there are bugs kindly log issues.

RoadMap

  1. Loadrunner load testing tool script generation.
  2. Dakiya has limited support for postman url as an object. This is due to limited collection examples.

Thanks to Stuff

Dakiya is built during technology labs working at stuff.co.nz

License

MIT License

Copyright (c) 2016 Rupesh More

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

dakiya's People

Contributors

rupeshmore avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

dakiya's Issues

Artillery script is not displayed

Hi, I'm trying your tool but when you select Artillery, the pop up with the script is not displayed. Browser's console show this:

VM269:2 Uncaught SyntaxError: Unexpected token n in JSON at position 19
    at JSON.parse (<anonymous>)
    at https://dakiya.now.sh/js/dakiya.js:331:49
    at Array.forEach (native)
    at artillery (https://dakiya.now.sh/js/dakiya.js:272:9)
    at convertPostman (https://dakiya.now.sh/js/dakiya.js:92:7)
    at HTMLSelectElement.onchange (https://dakiya.now.sh/:82:99)
    at Object.trigger (https://dakiya.now.sh/js/jquery-2.2.3.min.js:4:4887)
    at HTMLSelectElement.<anonymous> (https://dakiya.now.sh/js/jquery-2.2.3.min.js:4:5389)
    at Function.each (https://dakiya.now.sh/js/jquery-2.2.3.min.js:2:2861)
    at n.fn.init.each (https://dakiya.now.sh/js/jquery-2.2.3.min.js:2:845)

the script for Gatling is displayed without problems

Status

Hey Rupesh -

This is awesome! I want to leverage my Postman collection and use a API load testing tool, this may just do the trick.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.