Test duration : 10.028s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2020-09-18 00:48:02 |
2020-09-18 00:48:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:02 | ------------------------------------ 2020-09-18 00:48:02 | [Mutex] waiting for: [configured:node:node-f692d545-00f4-48da-9330-2bc445183741:node-8c0906a5-af57-470f-be21-d674a245dfd0] 2020-09-18 00:48:02 | [Mutex] received everything. 2020-09-18 00:48:02 | [Mutex] isItemNotified: configured:node:node-f692d545-00f4-48da-9330-2bc445183741:node-8c0906a5-af57-470f-be21-d674a245dfd0 :: true 2020-09-18 00:48:03 | [Mutex] waiting for: [received:nodes:c226102f-bdcb-4658-b8cd-68ce84a2034c:localhost] 2020-09-18 00:48:03 | [Mutex] received everything. 2020-09-18 00:48:03 | [Mutex] isItemNotified: received:node:c226102f-bdcb-4658-b8cd-68ce84a2034c:localhost:node-f692d545-00f4-48da-9330-2bc445183741:Node f692d545-00f4-48da-9330-2bc445183741 :: true 2020-09-18 00:48:03 | [Mutex] waiting for: [received:nodes:b3114fe9-13c6-4ae5-b0ee-700a8efbe56a:localhost] 2020-09-18 00:48:03 | [Mutex] received everything. 2020-09-18 00:48:03 | [Mutex] isItemNotified: received:node:b3114fe9-13c6-4ae5-b0ee-700a8efbe56a:localhost:node-f692d545-00f4-48da-9330-2bc445183741:Node f692d545-00f4-48da-9330-2bc445183741 :: false |
createNodes | 1.390s |
2020-09-18 00:47:59 |
2020-09-18 00:47:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:47:59 | ------------------------------------ 2020-09-18 00:47:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node f692d545-00f4-48da-9330-2bc445183741</title></pubsub></data> 2020-09-18 00:48:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 00:48:01 | [Mutex] waiting for: [received:nodes:4214de2a-08cc-48f0-a1b7-7651c3e3c271:localhost] 2020-09-18 00:48:01 | [Mutex] waiting for: [received:nodes:4214de2a-08cc-48f0-a1b7-7651c3e3c271:localhost] 2020-09-18 00:48:01 | [Mutex] received everything. 2020-09-18 00:48:01 | [Mutex] isItemNotified: received:node:4214de2a-08cc-48f0-a1b7-7651c3e3c271:localhost:node-f692d545-00f4-48da-9330-2bc445183741:Node f692d545-00f4-48da-9330-2bc445183741 :: true |
createSubnodes | 1.040s |
2020-09-18 00:48:01 |
2020-09-18 00:48:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:01 | ------------------------------------ 2020-09-18 00:48:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8c0906a5-af57-470f-be21-d674a245dfd0</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8c0906a5-af57-470f-be21-d674a245dfd0</title></pubsub></data> 2020-09-18 00:48:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 00:48:02 | [Mutex] waiting for: [received:nodes:27e31169-0b42-4e66-86ec-685009df031e:localhost] 2020-09-18 00:48:02 | [Mutex] received everything. 2020-09-18 00:48:02 | [Mutex] isItemNotified: received:node:27e31169-0b42-4e66-86ec-685009df031e:localhost:node-8c0906a5-af57-470f-be21-d674a245dfd0:Node 8c0906a5-af57-470f-be21-d674a245dfd0 :: true |
deleteNodes | 1.016s |
2020-09-18 00:48:07 |
2020-09-18 00:48:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:07 | ------------------------------------ 2020-09-18 00:48:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8c0906a5-af57-470f-be21-d674a245dfd0</node></data> 2020-09-18 00:48:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 00:48:08 | [Mutex] waiting for: [received:nodes:499f4ce0-4f18-4360-9823-1c6ab8f3acd9:localhost] 2020-09-18 00:48:08 | [Mutex] received everything. 2020-09-18 00:48:08 | [Mutex] isItemNotified: received:node:499f4ce0-4f18-4360-9823-1c6ab8f3acd9:localhost:node-8c0906a5-af57-470f-be21-d674a245dfd0:Node 8c0906a5-af57-470f-be21-d674a245dfd0 :: false |
deleteSubnodes | 1.180s |
2020-09-18 00:48:06 |
2020-09-18 00:48:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:06 | ------------------------------------ 2020-09-18 00:48:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node></data> 2020-09-18 00:48:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-18 00:48:07 | [Mutex] waiting for: [received:nodes:c724db6c-9ab6-45ac-b123-2f8292e19f4e:localhost] 2020-09-18 00:48:07 | [Mutex] received everything. 2020-09-18 00:48:07 | [Mutex] isItemNotified: received:node:c724db6c-9ab6-45ac-b123-2f8292e19f4e:localhost:node-f692d545-00f4-48da-9330-2bc445183741:Node f692d545-00f4-48da-9330-2bc445183741 :: false 2020-09-18 00:48:07 | [Mutex] waiting for: [received:nodes:b73b0261-eeda-4e07-84fc-f2006d426906:localhost] 2020-09-18 00:48:07 | [Mutex] received everything. 2020-09-18 00:48:07 | [Mutex] isItemNotified: received:node:b73b0261-eeda-4e07-84fc-f2006d426906:localhost:node-f692d545-00f4-48da-9330-2bc445183741:Node f692d545-00f4-48da-9330-2bc445183741 :: false |
publishItemsToNodes | 0.251s |
2020-09-18 00:48:04 |
2020-09-18 00:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:04 | ------------------------------------ 2020-09-18 00:48:04 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node><item-id>item-067b10e2-905a-48c5-bcc5-b57ac36c38f2</item-id><entry><test>item-067b10e2-905a-48c5-bcc5-b57ac36c38f2</test></entry></data> 2020-09-18 00:48:04 | 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-067b10e2-905a-48c5-bcc5-b57ac36c38f2</value></item-id></result> 2020-09-18 00:48:04 | [Mutex] waiting for: [published:item:notifieditem-067b10e2-905a-48c5-bcc5-b57ac36c38f2:admin@test-domain.com] 2020-09-18 00:48:04 | [Mutex] received everything. 2020-09-18 00:48:04 | [Mutex] isItemNotified: published:item:notifieditem-067b10e2-905a-48c5-bcc5-b57ac36c38f2:admin@test-domain.com :: true |
retractItemsFromNodes | 0.311s |
2020-09-18 00:48:05 |
2020-09-18 00:48:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:05 | ------------------------------------ 2020-09-18 00:48:05 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node><item-id>item-067b10e2-905a-48c5-bcc5-b57ac36c38f2</item-id></data> 2020-09-18 00:48:05 | 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-067b10e2-905a-48c5-bcc5-b57ac36c38f2</value></item-id></result> 2020-09-18 00:48:05 | [Mutex] received everything. 2020-09-18 00:48:05 | [Mutex] isItemNotified: retracted:item:notifieditem-067b10e2-905a-48c5-bcc5-b57ac36c38f2:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.231s |
2020-09-18 00:48:04 |
2020-09-18 00:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:04 | ------------------------------------ 2020-09-18 00:48:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node><item-id>item-067b10e2-905a-48c5-bcc5-b57ac36c38f2</item-id></data> 2020-09-18 00:48:04 | 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-f692d545-00f4-48da-9330-2bc445183741</value></node><item-id label="Item ID" type="text-single"><value>item-067b10e2-905a-48c5-bcc5-b57ac36c38f2</value></item-id><item label="Item" type="text-multi"><value><item id="item-067b10e2-905a-48c5-bcc5-b57ac36c38f2"><test>item-067b10e2-905a-48c5-bcc5-b57ac36c38f2</test></item></value></item></result> 2020-09-18 00:48:04 | [Mutex] notify: [retrieved:item:item-067b10e2-905a-48c5-bcc5-b57ac36c38f2:payload-matches:true:localhost] 2020-09-18 00:48:04 | [Mutex] received everything. 2020-09-18 00:48:04 | [Mutex] isItemNotified: retrieved:item:item-067b10e2-905a-48c5-bcc5-b57ac36c38f2:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.055s |
2020-09-18 00:48:04 |
2020-09-18 00:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:04 | ------------------------------------ 2020-09-18 00:48:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-18 00:48:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-8c0906a5-af57-470f-be21-d674a245dfd0</value><value>node-f692d545-00f4-48da-9330-2bc445183741</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2020-09-18 00:48:04 |
2020-09-18 00:48:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:04 | ------------------------------------ 2020-09-18 00:48:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-f692d545-00f4-48da-9330-2bc445183741)</node-pattern></data> 2020-09-18 00:48:05 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.118s |
2020-09-18 00:48:03 |
2020-09-18 00:48:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:03 | ------------------------------------ 2020-09-18 00:48:03 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 00:48:03 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.311s |
2020-09-18 00:48:05 |
2020-09-18 00:48:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-18 00:48:05 | ------------------------------------ 2020-09-18 00:48:05 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-f692d545-00f4-48da-9330-2bc445183741</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-18 00:48:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |