Skip to content

marco-introini/urltester

Repository files navigation

URL Tester

This Laravel/Filament project is written for people who want to test Soap and Rest services protected with x509 Certificates. It can be used to:

  • test on demand single or multiple urls
  • execute the tests via console
  • view the results (success and failures)

It uses the cURL functions in PHP.

Requirements

  • PHP >= 8.1
  • cURL Extension
  • Database (MySQL, PostgreSQL)

Installation

  • clone the repository
  • create database
  • create a .env file
  • execute composer install
  • execute npm install
  • execute npm run build
  • modify the Makefile according to your needs

Login

The default user is email 'mint.dev@pm.me' with password 'password'

Usage

Simply login into admin area.

Add every x509 certificate you need:

Edit Certificate

Then define every endpoint you need to test:

Url Creation

Command Line

Tests

If you want to execute all the tests inside the database (url table) simply execute the artisan command

php artisan execute:tests

Load tests

To execute all scheduled load test simply execute:

php artisan execute:load-tests

This command should be put inside crontab

Test

./vendor/bin/pest

ToDos

  • add cron jobs

Credits

Contributing

Thank you for considering contributing to URL Tester! Please contact me via GitHub.

License

This project is open-sourced software licensed under the MIT license.

About

An url tester application written in PHP/Laravel and FilamentPHP

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages