Test duration : 9.527s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.091s |
2022-06-27 23:04:03 |
2022-06-27 23:04:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:03 | ------------------------------------ 2022-06-27 23:04:03 | [Mutex] waiting for: [configured:node:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:node-16f191ec-574e-4b10-80a3-561ceb24a9c2] 2022-06-27 23:04:03 | [Mutex] received everything. 2022-06-27 23:04:03 | [Mutex] isItemNotified: configured:node:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:node-16f191ec-574e-4b10-80a3-561ceb24a9c2 :: true 2022-06-27 23:04:04 | [Mutex] waiting for: [received:nodes:0a3ddabe-00fb-47ff-8547-1408f1729b97:localhost] 2022-06-27 23:04:04 | [Mutex] received everything. 2022-06-27 23:04:04 | [Mutex] isItemNotified: received:node:0a3ddabe-00fb-47ff-8547-1408f1729b97:localhost:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:Node 2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7 :: true 2022-06-27 23:04:04 | [Mutex] waiting for: [received:nodes:50a004f1-4247-4934-8c50-6cc9c6f73f9e:localhost] 2022-06-27 23:04:04 | [Mutex] received everything. 2022-06-27 23:04:04 | [Mutex] isItemNotified: received:node:50a004f1-4247-4934-8c50-6cc9c6f73f9e:localhost:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:Node 2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7 :: false |
createNodes | 1.373s |
2022-06-27 23:04:01 |
2022-06-27 23:04:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:01 | ------------------------------------ 2022-06-27 23:04:01 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</title></pubsub></data> 2022-06-27 23:04:01 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:04:02 | [Mutex] waiting for: [received:nodes:735ebece-ccfd-4426-8459-debbef7d7bd4:localhost] 2022-06-27 23:04:02 | [Mutex] waiting for: [received:nodes:735ebece-ccfd-4426-8459-debbef7d7bd4:localhost] 2022-06-27 23:04:02 | [Mutex] received everything. 2022-06-27 23:04:02 | [Mutex] isItemNotified: received:node:735ebece-ccfd-4426-8459-debbef7d7bd4:localhost:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:Node 2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7 :: true |
createSubnodes | 1.022s |
2022-06-27 23:04:02 |
2022-06-27 23:04:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:02 | ------------------------------------ 2022-06-27 23:04:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-16f191ec-574e-4b10-80a3-561ceb24a9c2</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 16f191ec-574e-4b10-80a3-561ceb24a9c2</title></pubsub></data> 2022-06-27 23:04:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:04:03 | [Mutex] waiting for: [received:nodes:9457aeea-a10e-4d5f-b1b7-1d504e2d2e2c:localhost] 2022-06-27 23:04:03 | [Mutex] waiting for: [received:nodes:9457aeea-a10e-4d5f-b1b7-1d504e2d2e2c:localhost] 2022-06-27 23:04:03 | [Mutex] received everything. 2022-06-27 23:04:03 | [Mutex] isItemNotified: received:node:9457aeea-a10e-4d5f-b1b7-1d504e2d2e2c:localhost:node-16f191ec-574e-4b10-80a3-561ceb24a9c2:Node 16f191ec-574e-4b10-80a3-561ceb24a9c2 :: true |
deleteNodes | 1.019s |
2022-06-27 23:04:09 |
2022-06-27 23:04:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:09 | ------------------------------------ 2022-06-27 23:04:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-16f191ec-574e-4b10-80a3-561ceb24a9c2</node></data> 2022-06-27 23:04:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:04:10 | [Mutex] waiting for: [received:nodes:c387379d-0303-4f97-9576-fe35377f6391:localhost] 2022-06-27 23:04:10 | [Mutex] waiting for: [received:nodes:c387379d-0303-4f97-9576-fe35377f6391:localhost] 2022-06-27 23:04:10 | [Mutex] received everything. 2022-06-27 23:04:10 | [Mutex] isItemNotified: received:node:c387379d-0303-4f97-9576-fe35377f6391:localhost:node-16f191ec-574e-4b10-80a3-561ceb24a9c2:Node 16f191ec-574e-4b10-80a3-561ceb24a9c2 :: false |
deleteSubnodes | 1.166s |
2022-06-27 23:04:07 |
2022-06-27 23:04:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:07 | ------------------------------------ 2022-06-27 23:04:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node></data> 2022-06-27 23:04:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-06-27 23:04:09 | [Mutex] waiting for: [received:nodes:604881cd-0f8d-4cdc-9cdf-8517a4f1dfa1:localhost] 2022-06-27 23:04:09 | [Mutex] waiting for: [received:nodes:604881cd-0f8d-4cdc-9cdf-8517a4f1dfa1:localhost] 2022-06-27 23:04:09 | [Mutex] received everything. 2022-06-27 23:04:09 | [Mutex] isItemNotified: received:node:604881cd-0f8d-4cdc-9cdf-8517a4f1dfa1:localhost:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:Node 2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7 :: false 2022-06-27 23:04:09 | [Mutex] waiting for: [received:nodes:4fbdb86a-19bf-4a57-8823-0309ac919da9:localhost] 2022-06-27 23:04:09 | [Mutex] received everything. 2022-06-27 23:04:09 | [Mutex] isItemNotified: received:node:4fbdb86a-19bf-4a57-8823-0309ac919da9:localhost:node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7:Node 2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7 :: false |
publishItemsToNodes | 0.332s |
2022-06-27 23:04:05 |
2022-06-27 23:04:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:05 | ------------------------------------ 2022-06-27 23:04:05 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node><item-id>item-3212df90-c311-484e-b4e4-0505ebd11b00</item-id><entry><test>item-3212df90-c311-484e-b4e4-0505ebd11b00</test></entry></data> 2022-06-27 23:04:06 | 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-3212df90-c311-484e-b4e4-0505ebd11b00</value></item-id></result> 2022-06-27 23:04:06 | [Mutex] received everything. 2022-06-27 23:04:06 | [Mutex] isItemNotified: published:item:notifieditem-3212df90-c311-484e-b4e4-0505ebd11b00:admin@test-domain.com :: true |
retractItemsFromNodes | 0.192s |
2022-06-27 23:04:06 |
2022-06-27 23:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:06 | ------------------------------------ 2022-06-27 23:04:06 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node><item-id>item-3212df90-c311-484e-b4e4-0505ebd11b00</item-id></data> 2022-06-27 23:04:06 | 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-3212df90-c311-484e-b4e4-0505ebd11b00</value></item-id></result> 2022-06-27 23:04:06 | [Mutex] waiting for: [retracted:item:notifieditem-3212df90-c311-484e-b4e4-0505ebd11b00:admin@test-domain.com] 2022-06-27 23:04:06 | [Mutex] received everything. 2022-06-27 23:04:06 | [Mutex] isItemNotified: retracted:item:notifieditem-3212df90-c311-484e-b4e4-0505ebd11b00:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.248s |
2022-06-27 23:04:06 |
2022-06-27 23:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:06 | ------------------------------------ 2022-06-27 23:04:06 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node><item-id>item-3212df90-c311-484e-b4e4-0505ebd11b00</item-id></data> 2022-06-27 23:04:06 | 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-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</value></node><item-id label="Item ID" type="text-single"><value>item-3212df90-c311-484e-b4e4-0505ebd11b00</value></item-id><item label="Item" type="text-multi"><value><item id="item-3212df90-c311-484e-b4e4-0505ebd11b00"><test>item-3212df90-c311-484e-b4e4-0505ebd11b00</test></item></value></item></result> 2022-06-27 23:04:06 | [Mutex] notify: [retrieved:item:item-3212df90-c311-484e-b4e4-0505ebd11b00:payload-matches:true:localhost] 2022-06-27 23:04:06 | [Mutex] received everything. 2022-06-27 23:04:06 | [Mutex] isItemNotified: retrieved:item:item-3212df90-c311-484e-b4e4-0505ebd11b00:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-06-27 23:04:06 |
2022-06-27 23:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:06 | ------------------------------------ 2022-06-27 23:04:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-06-27 23:04:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</value><value>test</value><value>node-16f191ec-574e-4b10-80a3-561ceb24a9c2</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-06-27 23:04:06 |
2022-06-27 23:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:06 | ------------------------------------ 2022-06-27 23:04:06 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7)</node-pattern></data> 2022-06-27 23:04:06 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.143s |
2022-06-27 23:04:04 |
2022-06-27 23:04:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:04 | ------------------------------------ 2022-06-27 23:04:04 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-27 23:04:04 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.166s |
2022-06-27 23:04:06 |
2022-06-27 23:04:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-06-27 23:04:06 | ------------------------------------ 2022-06-27 23:04:06 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-2f2b7bd8-c59b-49ee-bd67-0a4d9a97bee7</node><jids><value>admin@test-domain.com</value></jids></data> 2022-06-27 23:04:06 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |