1
C# - VB.NET / Re: Utilizando IOption Pattern en Net 6
« on: June 21, 2022, 09:26:29 am »
Ale!! Que bueno verte en el foro otra vez!! Muchas gracias por tu aporte!!
Saludos!
Saludos!
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Primero que nada muy agradecido a tanto material.
Segundo por supuesto que si, en lo que puedas expandir viene bien, como generar esos reportes, otras funcionalidades, tal vez alguna variante como tipo API o mobile.
Saludos.
Muy lindo post.
Yo realice la prueba y me arrojo un numero alto de usuario para que recién me diera error y en los https con error no me marco en los response headers el error cloudflare
Muy buen aporte!!! Gracias!
Al proximo post podriamos agregarle como integro newman con Jenkins para correrlo desde un job.
stage("Postman API Testing") {
sh " newman run 'coleccion.json' -e entorno.json;"
}
const schema = {
ESTRUCTURA DEL JSON
pm.test("Schema validation", () => {
pm.response.to.have.jsonSchema(schema);
});
const schema = {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"category": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
},
"name": {
"type": "string"
},
"photoUrls": {
"type": "array",
"items": {}
},
"tags": {
"type": "array",
"items": [
{
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
]
}
]
},
"status": {
"type": "string"
}
},
"required": [
"id",
"category",
"name",
"photoUrls",
"tags",
"status"
]
}
]
}
pm.test("Schema validation", () => {
pm.response.to.have.jsonSchema(schema);
});
npm install -g newman
newman run “nombre_coleccion.json”
npm install -g newman-reporter-htmlextra
newman run collection.json -r htmlextra