Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 

Repository files navigation

🌐 API Testing Scripts Library

A collection of reusable pre-request and post-request scripts to automate and enhance API testing workflows. These scripts are adaptable for any API testing tool that supports JavaScript scripting.

πŸš€ Features

  • Dynamic Data: Generate unique emails, UUIDs, and timestamps.
  • Authentication: Handle Bearer tokens, OAuth2, and other methods.
  • Validations: Verify response codes and schemas.
  • Utilities: Manage environment variables and debug responses.

πŸ“œ Example Scripts

Pre-request Scripts

  • Dynamic Email Generation:
    let counter = pm.environment.get('email_counter') || 1;
    pm.variables.set('email', `test${counter}@example.com`);
    pm.environment.set('email_counter', counter + 1);

About

A collection of reusable pre-request and post-request scripts for API testing tools like Postman. Automate workflows with dynamic data generation, authentication handling, and response validation to streamline your testing process.

Topics

Resources

Stars

4 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages