PageRenderTime 71ms CodeModel.GetById 40ms RepoModel.GetById 0ms app.codeStats 0ms

/gameoflife-web/tools/jmeter/printable_docs/usermanual/ldapanswer_xml.html

https://bitbucket.org/mrgaryg/game-of-life
HTML | 395 lines | 317 code | 62 blank | 16 comment | 0 complexity | caa623d2a9c2e3a1f925db759add585c MD5 | raw file
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!--
  3. Licensed to the Apache Software Foundation (ASF) under one or more
  4. contributor license agreements. See the NOTICE file distributed with
  5. this work for additional information regarding copyright ownership.
  6. The ASF licenses this file to You under the Apache License, Version 2.0
  7. (the "License"); you may not use this file except in compliance with
  8. the License. You may obtain a copy of the License at
  9. http://www.apache.org/licenses/LICENSE-2.0
  10. Unless required by applicable law or agreed to in writing, software
  11. distributed under the License is distributed on an "AS IS" BASIS,
  12. WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. See the License for the specific language governing permissions and
  14. limitations under the License.
  15. -->
  16. <html>
  17. <head>
  18. <link rel="stylesheet" type="text/css" href="../../docs/css/style.css"/>
  19. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  20. <meta name="author" value="Dolf Smits">
  21. <meta name="email" value="Dolf.Smits@Siemens.com">
  22. <title>JMeter - User's Manual: LDAP answer XML description</title>
  23. </head>
  24. <body bgcolor="#ffffff" text="#000000" link="#525D76">
  25. <table border="0" cellspacing="0">
  26. <tr>
  27. <td colspan="2">
  28. <a href="http://jakarta.apache.org"><img width="505" height="48" src="../../docs/images/jakarta-logo.gif" align="left" border="0"></a>
  29. </td>
  30. </tr>
  31. </table>
  32. <table border="0" cellspacing="4">
  33. <tr><td>
  34. <hr noshade size="1">
  35. </td></tr>
  36. <tr>
  37. <td align="left" valign="top">
  38. <table>
  39. <tr>
  40. <td bgcolor="#525D76">
  41. <div align="right"><a href="index.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Index</font></a></div>
  42. </td>
  43. <td bgcolor="#525D76">
  44. <div align="right"><a href="$next"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Next</font></a></div>
  45. </td>
  46. <td bgcolor="#525D76">
  47. <div align="right"><a href="$prev"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Prev</font></a></div>
  48. </td>
  49. </tr>
  50. </table>
  51. <br>
  52. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  53. <tr><td bgcolor="#525D76">
  54. <font color="#ffffff" face="arial,helvetica,sanserif">
  55. <a name="ldapans_xml"><strong>description of the ldapanswer XML definition</strong></a></font>
  56. </td></tr>
  57. <tr><td>
  58. <blockquote>
  59. <p>
  60. The extended LDAP sampler was built to support testing for very complex testpurposes.
  61. It was aimed at supporting the LDAP operations as close as possible.
  62. As the results are not passed back in a user-readable form, I invented my own xml definition to
  63. construct an answer in xml encoding, so the results may be parsed with regextracter or alike functions.
  64. </p>
  65. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  66. <tr><td bgcolor="#828DA6">
  67. <font color="#ffffff" face="arial,helvetica,sanserif">
  68. <a name="overview"><strong>1 Global overview</strong></a>
  69. </font>
  70. </td></tr>
  71. <tr><td>
  72. <blockquote>
  73. <p>
  74. The global structure is as follows:
  75. <br>
  76. </br>
  77. <ol>
  78. <li>
  79. &lt;ldapanswer&gt; and &lt;ldapanswer/&gt; are the begin and endtags which are used to define the beginning ands end of the answer.
  80. </li>
  81. <li>
  82. each ldapanswer contains 4 sections, an "operation" section (enclosed by
  83. &lt;operation&gt; tags) a respons code section (enclosed by &lt;responsecode&gt; tags), a
  84. response message (enclosed by &lt;responsemessage&gt; tags and (only with a search
  85. request) a searchresult section (enclosed with &ltsearchresult&gt tags>
  86. </li>
  87. </ol>
  88. </p>
  89. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  90. <tr><td bgcolor="#828DA6">
  91. <font color="#ffffff" face="arial,helvetica,sanserif">
  92. <a name="operation"><strong>1.1 The operation section</strong></a>
  93. </font>
  94. </td></tr>
  95. <tr><td>
  96. <blockquote>
  97. <p>
  98. The operation section defines the operation as it is sent to the LDAP Server. The
  99. following tags (with a short explanation) are used
  100. <ol>
  101. <li>
  102. &lt;opertype&gt;<br>
  103. Thise describes which kind of operation was sent, it can have the following values:
  104. <ol>
  105. <li>
  106. bind<br>
  107. (this code is used for both a thread bind as a single bind/unbind operation)
  108. </li>
  109. <li>
  110. unbind
  111. </li>
  112. <li>
  113. compare
  114. </li>
  115. <li>
  116. add
  117. </li>
  118. <li>
  119. delete
  120. </li>
  121. <li>
  122. modfy
  123. </li>
  124. <li>
  125. rename
  126. </li>
  127. <li>
  128. search
  129. </li>
  130. </ol>
  131. </li>
  132. <li>
  133. &lt;attributes&gt;
  134. This will name all attributes that will be added or modified during an "add" or a "modify"
  135. operation.
  136. </li>
  137. <li>
  138. &lt;baseobject&gt;
  139. This will hold the value of the root or context prefix that will be used in the current session.
  140. This value is given for any "thread bind" and "thread unbind" operation
  141. </li>
  142. <li>
  143. &lt;binddn&gt;
  144. This is the DN of the user that is binding to the directory, it is used in the
  145. "thread bind", "thread unbind" and "single bind" operations.
  146. </li>
  147. <li>
  148. &lt;comparedn&gt;
  149. This is the DN of the object from which an attribute is compared to a given attributevalue
  150. It is only used in the "compare" operation.
  151. </li>
  152. <li>
  153. &lt;comparefilter&gt;
  154. This is the filter, in the form (attribute= value) that is used in the "compare" operation.
  155. </li>
  156. <li>
  157. &lt;countlimit&gt;
  158. This is the maximum number of searchresults that will be returned, as it is requested by the client.
  159. The actual number might be smaller as the server can have its own countlimit configured.
  160. This will be used only in search requests.</li>
  161. <li>
  162. &lt;dn&gt;
  163. This is the distinguished name of the object on which the actions are performed.
  164. It is used in Add, Delete, Modify and ModifyDN operations
  165. </li>
  166. <li>
  167. &lt;newdn&gt;
  168. This is the new distinghuised name of an object to which the object will be renamed
  169. or moved, it is used in de ModifyDN operation
  170. </li>
  171. <li>
  172. &lt;scope&gt;
  173. This is used in search operations, it can be 0 (object), 1 (onelevel) or 2 (subtree).
  174. It defines the scope of the search which can be limited to the above settings.
  175. </li>
  176. <li>
  177. &lt;searchfilter&gt;
  178. The searchfilter that will be used in a search request, it should be in proper LDAP syntax.
  179. </li>
  180. <li>
  181. &lt;searchbase&gt;
  182. The searchbase where a search is started, this is given, relative to the baseobject of the current connection.
  183. </li>
  184. <li>
  185. &lt;timelimit&gt;
  186. This is the maximum timethe server will use in finding the requested objects.as it is requested by the client.
  187. The actual number might be smaller as the server can have its own countlimit configured.
  188. This will be used only in search requests.</li>
  189. </ol>
  190. </p>
  191. </blockquote>
  192. </td></tr>
  193. <tr><td><br></td></tr>
  194. </table>
  195. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  196. <tr><td bgcolor="#828DA6">
  197. <font color="#ffffff" face="arial,helvetica,sanserif">
  198. <a name="response_message"><strong>1.2 Response message section</strong></a>
  199. </font>
  200. </td></tr>
  201. <tr><td>
  202. <blockquote>
  203. <p>
  204. As the response code, the official LDAP error definitions are used, so this section
  205. contains the error message as returned from the server.
  206. A succesfull request always returns "Success" as the responsmessage.
  207. The following tag is used:
  208. &lt;responsemessage&gt;<br>
  209. </p>
  210. </blockquote>
  211. </td></tr>
  212. <tr><td><br></td></tr>
  213. </table>
  214. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  215. <tr><td bgcolor="#828DA6">
  216. <font color="#ffffff" face="arial,helvetica,sanserif">
  217. <a name="response_code"><strong>1.3 Response code section</strong></a>
  218. </font>
  219. </td></tr>
  220. <tr><td>
  221. <blockquote>
  222. <p>
  223. As the response code, the official LDAP error definitions are used, so this section
  224. contains the error number as returned from the server.
  225. A succesfull request always returns 0 (zero) as the responscode.
  226. The following tag is used:
  227. &lt;responsecode&gt;<br>
  228. </p>
  229. </blockquote>
  230. </td></tr>
  231. <tr><td><br></td></tr>
  232. </table>
  233. <table border="0" cellspacing="0" cellpadding="2" width="100%">
  234. <tr><td bgcolor="#828DA6">
  235. <font color="#ffffff" face="arial,helvetica,sanserif">
  236. <a name="search"><strong>1.4 Search Result section</strong></a>
  237. </font>
  238. </td></tr>
  239. <tr><td>
  240. <blockquote>
  241. <p>
  242. The following tag is used:
  243. &lt;searchresult&gt;<br>
  244. This gives the results from a serachrequest, as they are returned by the server.
  245. It contains the following tags:
  246. <ol>
  247. <li>
  248. &lt;dn&gt;
  249. This contains the complete distinghuised name of the object which is represented here
  250. </li>
  251. <li>
  252. &lt;returnedattr&gt;
  253. This contains the number of returned attributes.
  254. </li>
  255. <li>
  256. &lt;attribute&gt;
  257. Each returned attribute is given between these tags, it always consists of an
  258. attribute name and attribute value pair
  259. <ol>
  260. <li>
  261. &lt;attributename&gt;
  262. This contains the official attributename as returned by the server.
  263. </li>
  264. <li>
  265. &lt;attributevalue&gt;
  266. This contains the attribute value as returned by the server.
  267. </li>
  268. </ol>
  269. </li>
  270. </ol>
  271. </p>
  272. </blockquote>
  273. </td></tr>
  274. <tr><td><br></td></tr>
  275. </table>
  276. </blockquote>
  277. </td></tr>
  278. <tr><td><br></td></tr>
  279. </table>
  280. </blockquote>
  281. </p>
  282. </td></tr>
  283. <tr><td><br></td></tr>
  284. </table>
  285. <br>
  286. <table>
  287. <tr>
  288. <td bgcolor="#525D76">
  289. <div align="right"><a href="index.html"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Index</font></a></div>
  290. </td>
  291. <td bgcolor="#525D76">
  292. <div align="right"><a href="$next"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Next</font></a></div>
  293. </td>
  294. <td bgcolor="#525D76">
  295. <div align="right"><a href="$prev"><font size=-1 color="#ffffff" face="arial,helvetica,sanserif">Prev</font></a></div>
  296. </td>
  297. </tr>
  298. </table>
  299. </td>
  300. </tr>
  301. <tr><td>
  302. <hr noshade size="1">
  303. </td></tr>
  304. <tr>
  305. <td>
  306. <table width=100%>
  307. <tr>
  308. <td>
  309. <font color="#525D76" size="-1"><em>
  310. Copyright &copy; 1999-2009, Apache Software Foundation
  311. </em></font>
  312. </td>
  313. <td align="right">
  314. <font color="#525D76" size="-1"><em>
  315. Updated: $updated
  316. </em></font>
  317. </td>
  318. </tr>
  319. <tr><td colspan="2">
  320. <div align="center"><font color="#525D76" size="-1">
  321. "Apache", the Apache feather, and the Apache JMeter logo are
  322. trademarks of the Apache Software Foundation for our open source software.
  323. </font>
  324. </div>
  325. </td></tr>
  326. </table>
  327. </td>
  328. </tr>
  329. </table>
  330. </body>
  331. </html>