In your example I don't see value/details about HTTP sampler
<?xml version="1.0" encoding="UTF-8"?>
<!--
Test plan:
Thread group (146 threads, 1:00:00 duration)
login (http sampler /login)
Test Loop (Loop Controller)
navigate to desktop (http sampler /desktop)
extract regex /...../
...
e.g., in login transaction, I don't have details about HTTP sampler
My use case is:
My script works fine
On developers modify something in the login HTTP header
I run my script and it's failed
Now I need to understand why my script failed.
Solution 1, I will go to talk to developers/check the diff of the source
code of the application. I understand the modification and I modify my
script
Solution 2, I record the new script and compare it (with a diff but it
will only work with very easy and not to modified script (correlation, add
of function...) and modify the old script
-> I don't think diff will be useful
My test case 2 is:
My script works fine
I go on vacation and my backup modify the script (URL, header, regex)
When I come back, I will check the modifications
Solution 1, I talk with my backup and I hope he remembers all his
modification
Solution 2, I read the comment of each commit (best solution)
Solution 3, I make a diff
-> Diff could be useful but why not only add comment when we commit the
new script in git/svn/...
I have talked with a lot of people who think make a diff will be useful but
for me I don't understand why
But if JMeter core implement it, I think it needs to have enough details to
understand the difference between 2 scripts (add of new elements,
modification of URL/header/regex/..., ....)
Antonio
2016-07-29 10:50 GMT+02:00 Vladimir Sitnikov <[email protected]>:
> >I am not sure that it's enough and solve the problem
>
> Please add something specific.
> "I am not sure" is a bit too vaugue.
>
> >With your solution, how can I see a modification of headers or a different
> URL?
>
> As a regular diff of two text lines.
> What else do you mean by "how"?
>
> Vladimir
>