Test duration : 9.472s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.107s |
2022-11-24 04:27:24 |
2022-11-24 04:27:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:24 | ------------------------------------ 2022-11-24 04:27:24 | [Mutex] waiting for: [configured:node:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b] 2022-11-24 04:27:24 | [Mutex] received everything. 2022-11-24 04:27:24 | [Mutex] isItemNotified: configured:node:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b :: true 2022-11-24 04:27:25 | [Mutex] waiting for: [received:nodes:46e03336-cb24-45fd-89e5-c06615397192:localhost] 2022-11-24 04:27:25 | [Mutex] received everything. 2022-11-24 04:27:25 | [Mutex] isItemNotified: received:node:46e03336-cb24-45fd-89e5-c06615397192:localhost:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:Node fe528da4-311e-4a4b-9c73-fce84b144cf9 :: true 2022-11-24 04:27:25 | [Mutex] waiting for: [received:nodes:3186ffec-f84f-4c09-832a-d119b82e8d69:localhost] 2022-11-24 04:27:25 | [Mutex] waiting for: [received:nodes:3186ffec-f84f-4c09-832a-d119b82e8d69:localhost] 2022-11-24 04:27:25 | [Mutex] received everything. 2022-11-24 04:27:25 | [Mutex] isItemNotified: received:node:3186ffec-f84f-4c09-832a-d119b82e8d69:localhost:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:Node fe528da4-311e-4a4b-9c73-fce84b144cf9 :: false |
createNodes | 1.482s |
2022-11-24 04:27:22 |
2022-11-24 04:27:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:22 | ------------------------------------ 2022-11-24 04:27:22 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node fe528da4-311e-4a4b-9c73-fce84b144cf9</title></pubsub></data> 2022-11-24 04:27:22 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 04:27:23 | [Mutex] waiting for: [received:nodes:a9706166-8b00-457b-93be-583e46338ba5:localhost] 2022-11-24 04:27:23 | [Mutex] waiting for: [received:nodes:a9706166-8b00-457b-93be-583e46338ba5:localhost] 2022-11-24 04:27:23 | [Mutex] received everything. 2022-11-24 04:27:23 | [Mutex] isItemNotified: received:node:a9706166-8b00-457b-93be-583e46338ba5:localhost:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:Node fe528da4-311e-4a4b-9c73-fce84b144cf9 :: true |
createSubnodes | 1.026s |
2022-11-24 04:27:23 |
2022-11-24 04:27:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:23 | ------------------------------------ 2022-11-24 04:27:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node af6e57ed-28fe-4032-b9f9-16a2ac93a51b</title></pubsub></data> 2022-11-24 04:27:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 04:27:24 | [Mutex] waiting for: [received:nodes:18b6ef28-e6de-45f6-a4a7-b1cecd17e5c8:localhost] 2022-11-24 04:27:24 | [Mutex] received everything. 2022-11-24 04:27:24 | [Mutex] isItemNotified: received:node:18b6ef28-e6de-45f6-a4a7-b1cecd17e5c8:localhost:node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b:Node af6e57ed-28fe-4032-b9f9-16a2ac93a51b :: true |
deleteNodes | 1.021s |
2022-11-24 04:27:30 |
2022-11-24 04:27:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:30 | ------------------------------------ 2022-11-24 04:27:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b</node></data> 2022-11-24 04:27:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 04:27:31 | [Mutex] waiting for: [received:nodes:2f0bf669-8463-4436-b7ff-241e10cf8a42:localhost] 2022-11-24 04:27:31 | [Mutex] waiting for: [received:nodes:2f0bf669-8463-4436-b7ff-241e10cf8a42:localhost] 2022-11-24 04:27:31 | [Mutex] received everything. 2022-11-24 04:27:31 | [Mutex] isItemNotified: received:node:2f0bf669-8463-4436-b7ff-241e10cf8a42:localhost:node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b:Node af6e57ed-28fe-4032-b9f9-16a2ac93a51b :: false |
deleteSubnodes | 1.131s |
2022-11-24 04:27:28 |
2022-11-24 04:27:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:28 | ------------------------------------ 2022-11-24 04:27:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node></data> 2022-11-24 04:27:29 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 04:27:30 | [Mutex] waiting for: [received:nodes:289356ff-3d2a-4ca0-b5ba-bb5ea95880b4:localhost] 2022-11-24 04:27:30 | [Mutex] waiting for: [received:nodes:289356ff-3d2a-4ca0-b5ba-bb5ea95880b4:localhost] 2022-11-24 04:27:30 | [Mutex] waiting for: [received:nodes:289356ff-3d2a-4ca0-b5ba-bb5ea95880b4:localhost] 2022-11-24 04:27:30 | [Mutex] waiting for: [received:nodes:289356ff-3d2a-4ca0-b5ba-bb5ea95880b4:localhost] 2022-11-24 04:27:30 | [Mutex] received everything. 2022-11-24 04:27:30 | [Mutex] isItemNotified: received:node:289356ff-3d2a-4ca0-b5ba-bb5ea95880b4:localhost:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:Node fe528da4-311e-4a4b-9c73-fce84b144cf9 :: false 2022-11-24 04:27:30 | [Mutex] waiting for: [received:nodes:1a2d23ec-5895-4d9a-a6a1-d3808798e5f0:localhost] 2022-11-24 04:27:30 | [Mutex] received everything. 2022-11-24 04:27:30 | [Mutex] isItemNotified: received:node:1a2d23ec-5895-4d9a-a6a1-d3808798e5f0:localhost:node-fe528da4-311e-4a4b-9c73-fce84b144cf9:Node fe528da4-311e-4a4b-9c73-fce84b144cf9 :: false |
publishItemsToNodes | 0.184s |
2022-11-24 04:27:27 |
2022-11-24 04:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:27 | ------------------------------------ 2022-11-24 04:27:27 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node><item-id>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</item-id><entry><test>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</test></entry></data> 2022-11-24 04:27:27 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</value></item-id></result> 2022-11-24 04:27:27 | [Mutex] received everything. 2022-11-24 04:27:27 | [Mutex] isItemNotified: published:item:notifieditem-fa4c7da8-697c-4301-abf6-c1593451ef2c:admin@test-domain.com :: true |
retractItemsFromNodes | 0.272s |
2022-11-24 04:27:27 |
2022-11-24 04:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:27 | ------------------------------------ 2022-11-24 04:27:27 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node><item-id>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</item-id></data> 2022-11-24 04:27:27 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</value></item-id></result> 2022-11-24 04:27:27 | [Mutex] received everything. 2022-11-24 04:27:27 | [Mutex] isItemNotified: retracted:item:notifieditem-fa4c7da8-697c-4301-abf6-c1593451ef2c:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.174s |
2022-11-24 04:27:27 |
2022-11-24 04:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:27 | ------------------------------------ 2022-11-24 04:27:27 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node><item-id>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</item-id></data> 2022-11-24 04:27:27 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</value></node><item-id label="Item ID" type="text-single"><value>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</value></item-id><item label="Item" type="text-multi"><value><item id="item-fa4c7da8-697c-4301-abf6-c1593451ef2c"><test>item-fa4c7da8-697c-4301-abf6-c1593451ef2c</test></item></value></item></result> 2022-11-24 04:27:27 | [Mutex] notify: [retrieved:item:item-fa4c7da8-697c-4301-abf6-c1593451ef2c:payload-matches:true:localhost] 2022-11-24 04:27:27 | [Mutex] received everything. 2022-11-24 04:27:27 | [Mutex] isItemNotified: retrieved:item:item-fa4c7da8-697c-4301-abf6-c1593451ef2c:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-11-24 04:27:27 |
2022-11-24 04:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:27 | ------------------------------------ 2022-11-24 04:27:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-24 04:27:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-af6e57ed-28fe-4032-b9f9-16a2ac93a51b</value><value>test</value><value>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-11-24 04:27:27 |
2022-11-24 04:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:27 | ------------------------------------ 2022-11-24 04:27:27 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-fe528da4-311e-4a4b-9c73-fce84b144cf9)</node-pattern></data> 2022-11-24 04:27:27 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.148s |
2022-11-24 04:27:25 |
2022-11-24 04:27:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:25 | ------------------------------------ 2022-11-24 04:27:25 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 04:27:26 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.212s |
2022-11-24 04:27:27 |
2022-11-24 04:27:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 04:27:27 | ------------------------------------ 2022-11-24 04:27:27 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-fe528da4-311e-4a4b-9c73-fce84b144cf9</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 04:27:27 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |