What steps will reproduce the problem?
1.Setup gateway for your project
2.Do an relative AJAX call to a file in your application script
3.Log the error
Does work:
AJAX Call:/a/b/c.php
Matcher: {matcher: "/a/*", server: "localhost:8080/a/"}
Should work but doesn't:
AJAX Call: a/b/c.php
Matcher: {matcher: "a/*", server: "localhost:8080/a/"}
What version of the product are you using? On what operating system?
TestDriver 1.3.5 xubuntu 12.10
Please provide any additional information below.
When using relative paths the JSTD server appends dynamic paths to the URL.
But the matcher requires that the text to match is exactly after the domain and
can't be at the end of the url.
This makes using relative paths in applications impossible.
Example:
Matcher: {matcher: "/a/*", server: "localhost:8080/a/"}
Does not work:
localhost:9876/dynamic/jstd/paths/with/changing/ids/c/a/b/c.php
Works:
localhost:9876/a/b/c.php
Regards
Janosch
Original issue reported on code.google.com by babbsdre...@googlemail.com on 9 Nov 2012 at 2:05
Original issue reported on code.google.com by
babbsdre...@googlemail.com
on 9 Nov 2012 at 2:05