Test duration : 10.065s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.118s |
2020-09-16 23:44:58 |
2020-09-16 23:44:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:44:58 | ------------------------------------ 2020-09-16 23:44:58 | [Mutex] waiting for: [configured:node:node-c056217b-27c3-4a81-b262-759719778dfe:node-def40296-6751-4921-8e28-c6abbe818c79] 2020-09-16 23:44:58 | [Mutex] received everything. 2020-09-16 23:44:58 | [Mutex] isItemNotified: configured:node:node-c056217b-27c3-4a81-b262-759719778dfe:node-def40296-6751-4921-8e28-c6abbe818c79 :: true 2020-09-16 23:44:59 | [Mutex] waiting for: [received:nodes:0d2f4184-71ac-4394-8fc0-359c206864a3:localhost] 2020-09-16 23:44:59 | [Mutex] received everything. 2020-09-16 23:44:59 | [Mutex] isItemNotified: received:node:0d2f4184-71ac-4394-8fc0-359c206864a3:localhost:node-c056217b-27c3-4a81-b262-759719778dfe:Node c056217b-27c3-4a81-b262-759719778dfe :: true 2020-09-16 23:44:59 | [Mutex] waiting for: [received:nodes:a9aeb442-3bea-40b2-b59f-5aa5ff6f28e8:localhost] 2020-09-16 23:44:59 | [Mutex] received everything. 2020-09-16 23:44:59 | [Mutex] isItemNotified: received:node:a9aeb442-3bea-40b2-b59f-5aa5ff6f28e8:localhost:node-c056217b-27c3-4a81-b262-759719778dfe:Node c056217b-27c3-4a81-b262-759719778dfe :: false |
createNodes | 1.495s |
2020-09-16 23:44:56 |
2020-09-16 23:44:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:44:56 | ------------------------------------ 2020-09-16 23:44:56 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c056217b-27c3-4a81-b262-759719778dfe</title></pubsub></data> 2020-09-16 23:44:56 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 23:44:57 | [Mutex] waiting for: [received:nodes:634b2bfd-d06a-4286-8ff6-d7b0d1c9e9b1:localhost] 2020-09-16 23:44:57 | [Mutex] received everything. 2020-09-16 23:44:57 | [Mutex] isItemNotified: received:node:634b2bfd-d06a-4286-8ff6-d7b0d1c9e9b1:localhost:node-c056217b-27c3-4a81-b262-759719778dfe:Node c056217b-27c3-4a81-b262-759719778dfe :: true |
createSubnodes | 1.032s |
2020-09-16 23:44:57 |
2020-09-16 23:44:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:44:57 | ------------------------------------ 2020-09-16 23:44:57 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-def40296-6751-4921-8e28-c6abbe818c79</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node def40296-6751-4921-8e28-c6abbe818c79</title></pubsub></data> 2020-09-16 23:44:57 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 23:44:58 | [Mutex] waiting for: [received:nodes:8566220b-3f70-412d-bc16-b7fe117b9368:localhost] 2020-09-16 23:44:58 | [Mutex] received everything. 2020-09-16 23:44:58 | [Mutex] isItemNotified: received:node:8566220b-3f70-412d-bc16-b7fe117b9368:localhost:node-def40296-6751-4921-8e28-c6abbe818c79:Node def40296-6751-4921-8e28-c6abbe818c79 :: true |
deleteNodes | 1.016s |
2020-09-16 23:45:04 |
2020-09-16 23:45:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:04 | ------------------------------------ 2020-09-16 23:45:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-def40296-6751-4921-8e28-c6abbe818c79</node></data> 2020-09-16 23:45:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 23:45:05 | [Mutex] waiting for: [received:nodes:1852664c-4a0a-4c0e-a2d0-914fb741fdbb:localhost] 2020-09-16 23:45:05 | [Mutex] received everything. 2020-09-16 23:45:05 | [Mutex] isItemNotified: received:node:1852664c-4a0a-4c0e-a2d0-914fb741fdbb:localhost:node-def40296-6751-4921-8e28-c6abbe818c79:Node def40296-6751-4921-8e28-c6abbe818c79 :: false |
deleteSubnodes | 1.110s |
2020-09-16 23:45:03 |
2020-09-16 23:45:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:03 | ------------------------------------ 2020-09-16 23:45:03 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node></data> 2020-09-16 23:45:03 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-16 23:45:04 | [Mutex] waiting for: [received:nodes:af3a8c54-d70c-4ebc-ab84-40c8b8d5d683:localhost] 2020-09-16 23:45:04 | [Mutex] received everything. 2020-09-16 23:45:04 | [Mutex] isItemNotified: received:node:af3a8c54-d70c-4ebc-ab84-40c8b8d5d683:localhost:node-c056217b-27c3-4a81-b262-759719778dfe:Node c056217b-27c3-4a81-b262-759719778dfe :: false 2020-09-16 23:45:04 | [Mutex] waiting for: [received:nodes:1e05c521-8f70-4d94-b15b-ad673afe3cea:localhost] 2020-09-16 23:45:04 | [Mutex] received everything. 2020-09-16 23:45:04 | [Mutex] isItemNotified: received:node:1e05c521-8f70-4d94-b15b-ad673afe3cea:localhost:node-c056217b-27c3-4a81-b262-759719778dfe:Node c056217b-27c3-4a81-b262-759719778dfe :: false |
publishItemsToNodes | 0.203s |
2020-09-16 23:45:00 |
2020-09-16 23:45:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:00 | ------------------------------------ 2020-09-16 23:45:00 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node><item-id>item-f8603841-4284-4306-9e16-ff314ebb7337</item-id><entry><test>item-f8603841-4284-4306-9e16-ff314ebb7337</test></entry></data> 2020-09-16 23:45:01 | 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-f8603841-4284-4306-9e16-ff314ebb7337</value></item-id></result> 2020-09-16 23:45:01 | [Mutex] waiting for: [published:item:notifieditem-f8603841-4284-4306-9e16-ff314ebb7337:admin@test-domain.com] 2020-09-16 23:45:01 | [Mutex] received everything. 2020-09-16 23:45:01 | [Mutex] isItemNotified: published:item:notifieditem-f8603841-4284-4306-9e16-ff314ebb7337:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2020-09-16 23:45:01 |
2020-09-16 23:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:01 | ------------------------------------ 2020-09-16 23:45:01 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node><item-id>item-f8603841-4284-4306-9e16-ff314ebb7337</item-id></data> 2020-09-16 23:45:01 | 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-f8603841-4284-4306-9e16-ff314ebb7337</value></item-id></result> 2020-09-16 23:45:01 | [Mutex] received everything. 2020-09-16 23:45:01 | [Mutex] isItemNotified: retracted:item:notifieditem-f8603841-4284-4306-9e16-ff314ebb7337:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.263s |
2020-09-16 23:45:01 |
2020-09-16 23:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:01 | ------------------------------------ 2020-09-16 23:45:01 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node><item-id>item-f8603841-4284-4306-9e16-ff314ebb7337</item-id></data> 2020-09-16 23:45:01 | 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-c056217b-27c3-4a81-b262-759719778dfe</value></node><item-id label="Item ID" type="text-single"><value>item-f8603841-4284-4306-9e16-ff314ebb7337</value></item-id><item label="Item" type="text-multi"><value><item id="item-f8603841-4284-4306-9e16-ff314ebb7337"><test>item-f8603841-4284-4306-9e16-ff314ebb7337</test></item></value></item></result> 2020-09-16 23:45:01 | [Mutex] notify: [retrieved:item:item-f8603841-4284-4306-9e16-ff314ebb7337:payload-matches:true:localhost] 2020-09-16 23:45:01 | [Mutex] received everything. 2020-09-16 23:45:01 | [Mutex] isItemNotified: retrieved:item:item-f8603841-4284-4306-9e16-ff314ebb7337:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2020-09-16 23:45:01 |
2020-09-16 23:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:01 | ------------------------------------ 2020-09-16 23:45:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-16 23:45:01 | 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-c056217b-27c3-4a81-b262-759719778dfe</value><value>node-def40296-6751-4921-8e28-c6abbe818c79</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.062s |
2020-09-16 23:45:01 |
2020-09-16 23:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:01 | ------------------------------------ 2020-09-16 23:45:01 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-c056217b-27c3-4a81-b262-759719778dfe)</node-pattern></data> 2020-09-16 23:45:01 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.124s |
2020-09-16 23:44:59 |
2020-09-16 23:44:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:44:59 | ------------------------------------ 2020-09-16 23:44:59 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-16 23:44:59 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.335s |
2020-09-16 23:45:01 |
2020-09-16 23:45:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-16 23:45:01 | ------------------------------------ 2020-09-16 23:45:01 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-c056217b-27c3-4a81-b262-759719778dfe</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-16 23:45:02 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |