What you should be doing is:


1.       Login, get a ticket, validate it.

2.       Login with a renew=true, get a ticket, validate it.

3.       Login, get a ticket, validate it with renew=true

4.       Login with a renew=true, get a ticket, validate it with renew=true



PGTs are an entirely different matter. I haven’t looked at your tests, but 
you should not be reusing tickets.



From: [email protected] [mailto:[email protected]] On Behalf Of William
Sent: Monday, May 2, 2016 1:47 PM
To: CAS Community <[email protected]>
Subject: [cas-user] Re: /p3/serviceValidate returning "Ticket...not 
recognized"



Makes sense.  I have been writing functional tests in Geb: 
https://github.com/wcrowell/cas-functional-tests



I am specifically working on this test: 
https://github.com/wcrowell/cas-functional-tests/blob/master/src/test/groovy/RenewSpec.groovy



I am using this document as a blueprint for the tests: 
https://wiki.jasig.org/display/CAS/CAS+Functional+Tests



The tests repeat the clause: "with a valid service ticket"



Is there a way I could use another ticket type (e.g. Proxy Granting Ticket) 
to validate the tickets or maybe I am making this too complicated.



Regards,



William Crowell

-- 
You received this message because you are subscribed to the Google Groups 
"CAS Community" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected] 
<mailto:[email protected]> .
To post to this group, send email to [email protected] 
<mailto:[email protected]> .
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/a32396aa-15ff-4571-be88-a8a7c3e9d2e6%40apereo.org
 
<https://groups.google.com/a/apereo.org/d/msgid/cas-user/a32396aa-15ff-4571-be88-a8a7c3e9d2e6%40apereo.org?utm_medium=email&utm_source=footer>
 
.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/a/apereo.org/group/cas-user/.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/017501d1a55d%24d0485d40%2470d917c0%24%40unicon.net.
For more options, visit https://groups.google.com/a/apereo.org/d/optout.

Reply via email to