janus-ssp / janus

Fully featured metadata registration administration module built on top of simpleSAMLphp.
Other
13 stars 8 forks source link

Compare REST API responses to pre-REST API v2 introduction #465

Closed relaxnow closed 9 years ago

relaxnow commented 10 years ago

We need to make sure that the old REST API still continues to function normally after the introduction of the new REST API.

@lucasvanlierop could you test that in the test setup?

lucasvanlierop commented 10 years ago

Already told you and Jeroen, but it works fine ;-)

relaxnow commented 10 years ago

We've now got the Integration Tests running on the new version, this does not cover all use-cases however. Would be nice to have an actual diff of the responses if it's not too much effort?

lucasvanlierop commented 10 years ago

Can you explain what kind of diff? since a few thousand requests are done.

relaxnow commented 10 years ago

Something like:

curl serviceregistry-new....method=arp > /tmp/new.json &&
curl serviceregistry-old...method=arp > /tmp/old.json &&
diff old.json new.json

On the same data set, for every entity and every method.

lucasvanlierop commented 10 years ago

Sorry never got to do this so far, do you still think it is useful?

thijskh commented 9 years ago

This has since been done.