Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error al hacer comparación de respuesta con fichero JSON con variables #342

Open
javieriranzo opened this issue Feb 6, 2025 · 0 comments

Comments

@javieriranzo
Copy link

- DADO: Que se realiza una comparación mediante el paso * la respuesta es parcialmente el contenido del fichero 'data/response1.json'
- CUANDO: El fichero .json que contiene respuestas contiene variables recogiendo valores de una consulta SQL.
- ENTONCES: Al realizar la comparación se devuelve un error indicando: es.iti.wakamiti.api.WakamitiException: named capturing group is missing trailing '}'

Ejemplo contenido fichero:

[
  {
    "aaaa": ${getValue#[0].AAAA},
    "bbbb": ${getValue#[0].BBBB},
    "ccccc": ${getValue#[0].CCCCC},
    "dddd": "${getValue#[0].DDDD}",
    "eeeee": ${getValue#[0].EEEEE},
    "ffffff": ${getValue#[0].FFFFF},
    "ggggg": "${getValue#[0].GGGG}",
    "ejemplo": {
      "dia_17": "",
      "dia_16": "",
      "dia_19": ""
    }
  }
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant