Test duration : 9.510s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.105s |
2022-08-28 22:34:19 |
2022-08-28 22:34:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:19 | ------------------------------------ 2022-08-28 22:34:19 | [Mutex] waiting for: [configured:node:node-dc080c47-b457-46b5-b264-7ac0c788e381:node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c] 2022-08-28 22:34:19 | [Mutex] received everything. 2022-08-28 22:34:19 | [Mutex] isItemNotified: configured:node:node-dc080c47-b457-46b5-b264-7ac0c788e381:node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c :: true 2022-08-28 22:34:20 | [Mutex] waiting for: [received:nodes:03c2472e-38cd-4d5d-837f-7788f272eae9:localhost] 2022-08-28 22:34:20 | [Mutex] received everything. 2022-08-28 22:34:20 | [Mutex] isItemNotified: received:node:03c2472e-38cd-4d5d-837f-7788f272eae9:localhost:node-dc080c47-b457-46b5-b264-7ac0c788e381:Node dc080c47-b457-46b5-b264-7ac0c788e381 :: true 2022-08-28 22:34:20 | [Mutex] waiting for: [received:nodes:6c77eb58-13af-48a3-88c5-5b5c05bc04d6:localhost] 2022-08-28 22:34:20 | [Mutex] waiting for: [received:nodes:6c77eb58-13af-48a3-88c5-5b5c05bc04d6:localhost] 2022-08-28 22:34:20 | [Mutex] waiting for: [received:nodes:6c77eb58-13af-48a3-88c5-5b5c05bc04d6:localhost] 2022-08-28 22:34:20 | [Mutex] waiting for: [received:nodes:6c77eb58-13af-48a3-88c5-5b5c05bc04d6:localhost] 2022-08-28 22:34:20 | [Mutex] received everything. 2022-08-28 22:34:20 | [Mutex] isItemNotified: received:node:6c77eb58-13af-48a3-88c5-5b5c05bc04d6:localhost:node-dc080c47-b457-46b5-b264-7ac0c788e381:Node dc080c47-b457-46b5-b264-7ac0c788e381 :: false |
createNodes | 1.360s |
2022-08-28 22:34:17 |
2022-08-28 22:34:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:17 | ------------------------------------ 2022-08-28 22:34:17 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node dc080c47-b457-46b5-b264-7ac0c788e381</title></pubsub></data> 2022-08-28 22:34:17 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:34:18 | [Mutex] waiting for: [received:nodes:dc377f30-5f91-4376-a6ab-0e44ca2b0255:localhost] 2022-08-28 22:34:18 | [Mutex] received everything. 2022-08-28 22:34:18 | [Mutex] isItemNotified: received:node:dc377f30-5f91-4376-a6ab-0e44ca2b0255:localhost:node-dc080c47-b457-46b5-b264-7ac0c788e381:Node dc080c47-b457-46b5-b264-7ac0c788e381 :: true |
createSubnodes | 1.035s |
2022-08-28 22:34:18 |
2022-08-28 22:34:18 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:18 | ------------------------------------ 2022-08-28 22:34:18 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c</title></pubsub></data> 2022-08-28 22:34:18 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:34:19 | [Mutex] waiting for: [received:nodes:6f676cce-7470-4515-adc9-a0d5f56e407c:localhost] 2022-08-28 22:34:19 | [Mutex] waiting for: [received:nodes:6f676cce-7470-4515-adc9-a0d5f56e407c:localhost] 2022-08-28 22:34:19 | [Mutex] waiting for: [received:nodes:6f676cce-7470-4515-adc9-a0d5f56e407c:localhost] 2022-08-28 22:34:19 | [Mutex] received everything. 2022-08-28 22:34:19 | [Mutex] isItemNotified: received:node:6f676cce-7470-4515-adc9-a0d5f56e407c:localhost:node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c:Node 2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c :: true |
deleteNodes | 1.019s |
2022-08-28 22:34:25 |
2022-08-28 22:34:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:25 | ------------------------------------ 2022-08-28 22:34:25 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c</node></data> 2022-08-28 22:34:25 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:34:26 | [Mutex] waiting for: [received:nodes:c750708b-e057-47e8-9333-2446e4c46cab:localhost] 2022-08-28 22:34:26 | [Mutex] waiting for: [received:nodes:c750708b-e057-47e8-9333-2446e4c46cab:localhost] 2022-08-28 22:34:26 | [Mutex] received everything. 2022-08-28 22:34:26 | [Mutex] isItemNotified: received:node:c750708b-e057-47e8-9333-2446e4c46cab:localhost:node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c:Node 2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c :: false |
deleteSubnodes | 1.125s |
2022-08-28 22:34:24 |
2022-08-28 22:34:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:24 | ------------------------------------ 2022-08-28 22:34:24 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node></data> 2022-08-28 22:34:24 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-28 22:34:25 | [Mutex] waiting for: [received:nodes:f38d3451-d170-4165-b0db-e069bb69c0f5:localhost] 2022-08-28 22:34:25 | [Mutex] received everything. 2022-08-28 22:34:25 | [Mutex] isItemNotified: received:node:f38d3451-d170-4165-b0db-e069bb69c0f5:localhost:node-dc080c47-b457-46b5-b264-7ac0c788e381:Node dc080c47-b457-46b5-b264-7ac0c788e381 :: false 2022-08-28 22:34:25 | [Mutex] waiting for: [received:nodes:ae639571-7015-40dc-b794-e42ee4993a59:localhost] 2022-08-28 22:34:25 | [Mutex] received everything. 2022-08-28 22:34:25 | [Mutex] isItemNotified: received:node:ae639571-7015-40dc-b794-e42ee4993a59:localhost:node-dc080c47-b457-46b5-b264-7ac0c788e381:Node dc080c47-b457-46b5-b264-7ac0c788e381 :: false |
publishItemsToNodes | 0.197s |
2022-08-28 22:34:22 |
2022-08-28 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:22 | ------------------------------------ 2022-08-28 22:34:22 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node><item-id>item-7324fcd4-0776-4211-95a8-4e6a98b2cf09</item-id><entry><test>item-7324fcd4-0776-4211-95a8-4e6a98b2cf09</test></entry></data> 2022-08-28 22:34:22 | 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-7324fcd4-0776-4211-95a8-4e6a98b2cf09</value></item-id></result> 2022-08-28 22:34:22 | [Mutex] waiting for: [published:item:notifieditem-7324fcd4-0776-4211-95a8-4e6a98b2cf09:admin@test-domain.com] 2022-08-28 22:34:22 | [Mutex] received everything. 2022-08-28 22:34:22 | [Mutex] isItemNotified: published:item:notifieditem-7324fcd4-0776-4211-95a8-4e6a98b2cf09:admin@test-domain.com :: true |
retractItemsFromNodes | 0.301s |
2022-08-28 22:34:22 |
2022-08-28 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:22 | ------------------------------------ 2022-08-28 22:34:22 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node><item-id>item-7324fcd4-0776-4211-95a8-4e6a98b2cf09</item-id></data> 2022-08-28 22:34:22 | 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-7324fcd4-0776-4211-95a8-4e6a98b2cf09</value></item-id></result> 2022-08-28 22:34:22 | [Mutex] received everything. 2022-08-28 22:34:22 | [Mutex] isItemNotified: retracted:item:notifieditem-7324fcd4-0776-4211-95a8-4e6a98b2cf09:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.200s |
2022-08-28 22:34:22 |
2022-08-28 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:22 | ------------------------------------ 2022-08-28 22:34:22 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node><item-id>item-7324fcd4-0776-4211-95a8-4e6a98b2cf09</item-id></data> 2022-08-28 22:34:22 | 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-dc080c47-b457-46b5-b264-7ac0c788e381</value></node><item-id type="text-single" label="Item ID"><value>item-7324fcd4-0776-4211-95a8-4e6a98b2cf09</value></item-id><item type="text-multi" label="Item"><value><item id="item-7324fcd4-0776-4211-95a8-4e6a98b2cf09"><test>item-7324fcd4-0776-4211-95a8-4e6a98b2cf09</test></item></value></item></result> 2022-08-28 22:34:22 | [Mutex] notify: [retrieved:item:item-7324fcd4-0776-4211-95a8-4e6a98b2cf09:payload-matches:true:localhost] 2022-08-28 22:34:22 | [Mutex] received everything. 2022-08-28 22:34:22 | [Mutex] isItemNotified: retrieved:item:item-7324fcd4-0776-4211-95a8-4e6a98b2cf09:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-28 22:34:22 |
2022-08-28 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:22 | ------------------------------------ 2022-08-28 22:34:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-28 22:34:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-2f7f26f9-c3bb-45f5-8bed-7d02e9564f6c</value><value>node-dc080c47-b457-46b5-b264-7ac0c788e381</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.053s |
2022-08-28 22:34:22 |
2022-08-28 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:22 | ------------------------------------ 2022-08-28 22:34:22 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-dc080c47-b457-46b5-b264-7ac0c788e381)</node-pattern></data> 2022-08-28 22:34:22 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.159s |
2022-08-28 22:34:20 |
2022-08-28 22:34:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:20 | ------------------------------------ 2022-08-28 22:34:20 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-28 22:34:21 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.221s |
2022-08-28 22:34:22 |
2022-08-28 22:34:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-28 22:34:22 | ------------------------------------ 2022-08-28 22:34:22 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-dc080c47-b457-46b5-b264-7ac0c788e381</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-28 22:34:23 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |