#!/bin/bash

for ((i = 1; i <= 1000; i++)); do
  curl -XPOST -H "Content-Type: application/json" -H "Accept:application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -d '{"Locale": "en_US", "Text": "This is some text that 4023600421224531 to be masked. And more to come de 7123777722227431 ce? This is some text that 4023600421224531 to be masked. And more to come de 7123777722227431 ce?"}' http://localhost:8080/mask
done

#!/bin/bash
REQUEST_BODY='{"Locale": "en_US","Text": "This should be masked as it is a credit card 4111111111111111(VISA). This too should be masked as it is a North American phone number 1-(555)-555-5555? The service can also mask Social Security Numbers like this one: 555-55-5555"}'
for ((i = 1; i <= 1000; i++)); do
  curl -XPOST -H "Content-Type: application/json" -H "Accept:application/json" -H "Authorization: Basic YWRtaW46YWRtaW4=" -d "${REQUEST_BODY}" http://localhost:8080/mask
done

Update testing script to include more data
test: Update testing script to include more data

Signed-off-by: Adrian Oprea <a1b909ec1cc11cce40c28d3640eab600e582f833@codesi.nz>
