Test duration : 9.883s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.125s |
2020-11-23 21:57:04 |
2020-11-23 21:57:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:04 | ------------------------------------ 2020-11-23 21:57:04 | [Mutex] waiting for: [configured:node:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:node-f0c70556-1deb-4de6-b43a-3c37acca1073] 2020-11-23 21:57:05 | [Mutex] received everything. 2020-11-23 21:57:05 | [Mutex] isItemNotified: configured:node:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:node-f0c70556-1deb-4de6-b43a-3c37acca1073 :: true 2020-11-23 21:57:06 | [Mutex] waiting for: [received:nodes:40044f1d-f065-4758-ba0f-a97dab0a877d:localhost] 2020-11-23 21:57:06 | [Mutex] received everything. 2020-11-23 21:57:06 | [Mutex] isItemNotified: received:node:40044f1d-f065-4758-ba0f-a97dab0a877d:localhost:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:Node 4f63269f-cfec-4b37-9d3a-2be8a00d24a2 :: true 2020-11-23 21:57:06 | [Mutex] waiting for: [received:nodes:e5d3f2cb-6381-46dc-90a4-5491bb98c81b:localhost] 2020-11-23 21:57:06 | [Mutex] received everything. 2020-11-23 21:57:06 | [Mutex] isItemNotified: received:node:e5d3f2cb-6381-46dc-90a4-5491bb98c81b:localhost:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:Node 4f63269f-cfec-4b37-9d3a-2be8a00d24a2 :: false |
createNodes | 1.447s |
2020-11-23 21:57:02 |
2020-11-23 21:57:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:02 | ------------------------------------ 2020-11-23 21:57:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 4f63269f-cfec-4b37-9d3a-2be8a00d24a2</title></pubsub></data> 2020-11-23 21:57:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:57:03 | [Mutex] waiting for: [received:nodes:62ba9ab6-b7d8-416f-9611-23b5b2a69176:localhost] 2020-11-23 21:57:03 | [Mutex] received everything. 2020-11-23 21:57:03 | [Mutex] isItemNotified: received:node:62ba9ab6-b7d8-416f-9611-23b5b2a69176:localhost:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:Node 4f63269f-cfec-4b37-9d3a-2be8a00d24a2 :: true |
createSubnodes | 1.031s |
2020-11-23 21:57:03 |
2020-11-23 21:57:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:03 | ------------------------------------ 2020-11-23 21:57:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-f0c70556-1deb-4de6-b43a-3c37acca1073</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node f0c70556-1deb-4de6-b43a-3c37acca1073</title></pubsub></data> 2020-11-23 21:57:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:57:04 | [Mutex] waiting for: [received:nodes:8d0389fe-cf4b-4b05-81be-b09503ded96a:localhost] 2020-11-23 21:57:04 | [Mutex] waiting for: [received:nodes:8d0389fe-cf4b-4b05-81be-b09503ded96a:localhost] 2020-11-23 21:57:04 | [Mutex] received everything. 2020-11-23 21:57:04 | [Mutex] isItemNotified: received:node:8d0389fe-cf4b-4b05-81be-b09503ded96a:localhost:node-f0c70556-1deb-4de6-b43a-3c37acca1073:Node f0c70556-1deb-4de6-b43a-3c37acca1073 :: true |
deleteNodes | 1.024s |
2020-11-23 21:57:10 |
2020-11-23 21:57:10 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:10 | ------------------------------------ 2020-11-23 21:57:10 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-f0c70556-1deb-4de6-b43a-3c37acca1073</node></data> 2020-11-23 21:57:10 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:57:11 | [Mutex] waiting for: [received:nodes:0552853a-ec23-4428-acfb-81e02894037d:localhost] 2020-11-23 21:57:11 | [Mutex] waiting for: [received:nodes:0552853a-ec23-4428-acfb-81e02894037d:localhost] 2020-11-23 21:57:11 | [Mutex] received everything. 2020-11-23 21:57:11 | [Mutex] isItemNotified: received:node:0552853a-ec23-4428-acfb-81e02894037d:localhost:node-f0c70556-1deb-4de6-b43a-3c37acca1073:Node f0c70556-1deb-4de6-b43a-3c37acca1073 :: false |
deleteSubnodes | 1.153s |
2020-11-23 21:57:09 |
2020-11-23 21:57:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:09 | ------------------------------------ 2020-11-23 21:57:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node></data> 2020-11-23 21:57:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-11-23 21:57:10 | [Mutex] waiting for: [received:nodes:fe41d8b8-dc4b-4065-bb4d-31d1176f0d36:localhost] 2020-11-23 21:57:10 | [Mutex] received everything. 2020-11-23 21:57:10 | [Mutex] isItemNotified: received:node:fe41d8b8-dc4b-4065-bb4d-31d1176f0d36:localhost:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:Node 4f63269f-cfec-4b37-9d3a-2be8a00d24a2 :: false 2020-11-23 21:57:10 | [Mutex] waiting for: [received:nodes:319b2438-9836-49ac-b749-3d8e3e26e3c8:localhost] 2020-11-23 21:57:10 | [Mutex] received everything. 2020-11-23 21:57:10 | [Mutex] isItemNotified: received:node:319b2438-9836-49ac-b749-3d8e3e26e3c8:localhost:node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2:Node 4f63269f-cfec-4b37-9d3a-2be8a00d24a2 :: false |
publishItemsToNodes | 0.276s |
2020-11-23 21:57:07 |
2020-11-23 21:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:07 | ------------------------------------ 2020-11-23 21:57:07 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node><item-id>item-519619c4-98eb-49b3-b77b-c6784514060e</item-id><entry><test>item-519619c4-98eb-49b3-b77b-c6784514060e</test></entry></data> 2020-11-23 21:57:07 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-519619c4-98eb-49b3-b77b-c6784514060e</value></item-id></result> 2020-11-23 21:57:07 | [Mutex] waiting for: [published:item:notifieditem-519619c4-98eb-49b3-b77b-c6784514060e:admin@test-domain.com] 2020-11-23 21:57:07 | [Mutex] received everything. 2020-11-23 21:57:07 | [Mutex] isItemNotified: published:item:notifieditem-519619c4-98eb-49b3-b77b-c6784514060e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.171s |
2020-11-23 21:57:07 |
2020-11-23 21:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:07 | ------------------------------------ 2020-11-23 21:57:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node><item-id>item-519619c4-98eb-49b3-b77b-c6784514060e</item-id></data> 2020-11-23 21:57:08 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>item-519619c4-98eb-49b3-b77b-c6784514060e</value></item-id></result> 2020-11-23 21:57:08 | [Mutex] received everything. 2020-11-23 21:57:08 | [Mutex] isItemNotified: retracted:item:notifieditem-519619c4-98eb-49b3-b77b-c6784514060e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.260s |
2020-11-23 21:57:07 |
2020-11-23 21:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:07 | ------------------------------------ 2020-11-23 21:57:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node><item-id>item-519619c4-98eb-49b3-b77b-c6784514060e</item-id></data> 2020-11-23 21:57:07 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node type="text-single" label="Node"><value>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</value></node><item-id type="text-single" label="Item ID"><value>item-519619c4-98eb-49b3-b77b-c6784514060e</value></item-id><item type="text-multi" label="Item"><value><item id="item-519619c4-98eb-49b3-b77b-c6784514060e"><test>item-519619c4-98eb-49b3-b77b-c6784514060e</test></item></value></item></result> 2020-11-23 21:57:07 | [Mutex] notify: [retrieved:item:item-519619c4-98eb-49b3-b77b-c6784514060e:payload-matches:true:localhost] 2020-11-23 21:57:07 | [Mutex] received everything. 2020-11-23 21:57:07 | [Mutex] isItemNotified: retrieved:item:item-519619c4-98eb-49b3-b77b-c6784514060e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.054s |
2020-11-23 21:57:07 |
2020-11-23 21:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:07 | ------------------------------------ 2020-11-23 21:57:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-11-23 21:57:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</value><value>test</value><value>node-f0c70556-1deb-4de6-b43a-3c37acca1073</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2020-11-23 21:57:07 |
2020-11-23 21:57:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:07 | ------------------------------------ 2020-11-23 21:57:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2)</node-pattern></data> 2020-11-23 21:57:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.133s |
2020-11-23 21:57:06 |
2020-11-23 21:57:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:06 | ------------------------------------ 2020-11-23 21:57:06 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-23 21:57:06 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.303s |
2020-11-23 21:57:08 |
2020-11-23 21:57:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-11-23 21:57:08 | ------------------------------------ 2020-11-23 21:57:08 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-4f63269f-cfec-4b37-9d3a-2be8a00d24a2</node><jids><value>admin@test-domain.com</value></jids></data> 2020-11-23 21:57:08 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |