Git Product home page Git Product logo

k6-tests's Introduction

K6 Testing Repository

This repository contains K6 tests for the DAN API endpoints. The tests cover various functionalities such as listing all accreditations, creating an accreditation, sending a request to the direct harvester using the accreditation, and deleting an accreditation. Additionally, it includes tests for retrieving metadata evidence codes and verifying requirements for making API requests. We are also actively working on adding tests for all plugins.

Running the Tests Locally

To run the K6 tests locally, follow these steps:

  1. Make sure you have the az cli installed on your machine.
  2. Execute the runTestLocally.sh file with the following parameters:
    • test file: Specify the name of the test file you want to execute.
    • use token: Set this parameter (true/false) to use the authentication token.

For example:

./runTestLocally.sh postDeployTests.js true

Please ensure that you have the necessary environment configurations set up correctly before running the tests.

k6-tests's People

Contributors

elsand avatar nlundee avatar

Watchers

 avatar  avatar

k6-tests's Issues

K6 must improve!

Description

sdsdfdsf

Additional Information

dfsdfsdf

Tasks

sdfsdf

Fix end to end post-deploy tests

Some of our post deploy tests are currently failing due to token requirements.

These could perhaps easily be changed to negative tests

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.