citrusframework / citrusframework/citrus

Validating result of a transform action

Open
#735 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
485
Forks
155
Avg merge
4d 22h
Merged PRs (30d)
6

Description

**Citrus Version**
2.8.0

**Question**
Hi there,
I was wondering, if it is possible to validate the result of a transform action in Citrus. I hoped for something like:
```
transform()
.source("")
.xslt(new ClassPathResource("xslt/example.xsl"))
.payload("");
```
Instead, I can only store the result in a variable, which I can't seem to validate. Is there any way to do this using the Citrus validation methods?
Thank you very much!

Contributor guide

Open the contributing guide

Research direction

Start by tracing the transform() action, its xslt(...) result handling, and the existing validation methods; the issue names no source files or tests. Determine whether the stored transform result can be passed through the validation API, and consider the work complete only when the requested XML result validation path is defined and covered by tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.