From: Aleš Křenek Date: Tue, 21 Mar 2006 14:23:20 +0000 (+0000) Subject: half-way editing JPPS X-Git-Tag: glite-security-gsoap-plugin_R_1_3_0~25 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=0f6405a76fef1dfa211bebda0929e745abd9967e;p=jra1mw.git half-way editing JPPS --- diff --git a/org.glite.jp/doc/testplan.tex b/org.glite.jp/doc/testplan.tex index e47f027..1f161c9 100644 --- a/org.glite.jp/doc/testplan.tex +++ b/org.glite.jp/doc/testplan.tex @@ -55,17 +55,50 @@ \subsection{Job registration} \subsubsection{Basic functionality} -- call RegisterJob -* call GetJobAttributes owner to verify +\label{regjob} +\req Running JPPS + +\how +\begin{itemize} +\item call RegisterJob operation: +\begin{verbatim} +$ jpps-test RegisterJob JOBID OWNER +\end{verbatim} +where JOBID and OWNER should be replaced with real values, JOBID should not have +been registered with JP before. + +\item call GetJobAttributes to verify: +\begin{verbatim} +$ jpps-test GetJobAttr JOBID http://egee.cesnet.cz/en/Schema/JP/System:owner +\end{verbatim} +\end{itemize} +\result Should print the OWNER value supplied. + \subsubsection{AuthZ check} -* call GetJobAttributes with different credentials - should fail +\pre JPPS running, a~job registered with the procedure in~\ref{regjob} +\how +Call GetJobAttributes using different user credentials +\result +Should fail with ``Permission denied'' error \subsection{Tag recording} -- call RecordTag -* call GetJobAttributes to verify -- record and retrieve more values of the same tag +\pre JPPS running, a~job registered with the procedure in~\ref{regjob} +\how +\begin{itemize} +\item Call RecordTag operation: +\begin{verbatim} +$ jpps-test RecordTag JOBID TAGNAME STRINGVALUE +\end{verbatim} +\item Call GetJobAttributes to verify +\begin{verbatim} +$ jpps-test GetJobAttr JOBID TAGNAME +\end{verbatim} +\end{itemize} +\result +The recorded value should be returned. +- record and retrieve more values of the same tag \subsection{File upload} \subsubsection{Basic functionality}