Validacao de testes de login e teste de autenticacao e verificacao dos testes de registro

This commit is contained in:
2026-06-01 21:05:21 -03:00
parent a2bc874db8
commit d859f70768
5 changed files with 514 additions and 5 deletions
+12
View File
@@ -0,0 +1,12 @@
import requests;
import json;
myURL = "http://nexuswebdigital.com:9999/auth/me"
with open("logindata.json", "r") as f:
data=json.load(f);
for item in data:
head = {'Authorization': '{}'.format(item["token_api"])}
response = requests.get(url=myURL, headers=head);
print(response.text);