Test duration : 9.391s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.102s |
2023-10-27 23:30:04 |
2023-10-27 23:30:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:04 | ------------------------------------ 2023-10-27 23:30:04 | [Mutex] waiting for: [configured:node:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:node-2eedc54a-8497-48c4-8876-f99431bd921e] 2023-10-27 23:30:04 | [Mutex] received everything. 2023-10-27 23:30:04 | [Mutex] isItemNotified: configured:node:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:node-2eedc54a-8497-48c4-8876-f99431bd921e :: true 2023-10-27 23:30:05 | [Mutex] waiting for: [received:nodes:d50f4121-5586-4779-9d96-2997e879465a:localhost] 2023-10-27 23:30:05 | [Mutex] received everything. 2023-10-27 23:30:05 | [Mutex] isItemNotified: received:node:d50f4121-5586-4779-9d96-2997e879465a:localhost:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:Node ffa02e6f-481c-4de3-975d-9f596a5556a3 :: true 2023-10-27 23:30:05 | [Mutex] waiting for: [received:nodes:810c532e-4915-4fc9-9fa0-10cf60e91487:localhost] 2023-10-27 23:30:05 | [Mutex] received everything. 2023-10-27 23:30:05 | [Mutex] isItemNotified: received:node:810c532e-4915-4fc9-9fa0-10cf60e91487:localhost:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:Node ffa02e6f-481c-4de3-975d-9f596a5556a3 :: false |
createNodes | 1.462s |
2023-10-27 23:30:02 |
2023-10-27 23:30:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:02 | ------------------------------------ 2023-10-27 23:30:02 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ffa02e6f-481c-4de3-975d-9f596a5556a3</title></pubsub></data> 2023-10-27 23:30:02 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-27 23:30:03 | [Mutex] waiting for: [received:nodes:2c3b57ea-884c-412d-8919-7f3635036aef:localhost] 2023-10-27 23:30:03 | [Mutex] waiting for: [received:nodes:2c3b57ea-884c-412d-8919-7f3635036aef:localhost] 2023-10-27 23:30:03 | [Mutex] waiting for: [received:nodes:2c3b57ea-884c-412d-8919-7f3635036aef:localhost] 2023-10-27 23:30:03 | [Mutex] waiting for: [received:nodes:2c3b57ea-884c-412d-8919-7f3635036aef:localhost] 2023-10-27 23:30:03 | [Mutex] received everything. 2023-10-27 23:30:03 | [Mutex] isItemNotified: received:node:2c3b57ea-884c-412d-8919-7f3635036aef:localhost:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:Node ffa02e6f-481c-4de3-975d-9f596a5556a3 :: true |
createSubnodes | 1.031s |
2023-10-27 23:30:03 |
2023-10-27 23:30:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:03 | ------------------------------------ 2023-10-27 23:30:03 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-2eedc54a-8497-48c4-8876-f99431bd921e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2eedc54a-8497-48c4-8876-f99431bd921e</title></pubsub></data> 2023-10-27 23:30:03 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-27 23:30:04 | [Mutex] waiting for: [received:nodes:9adcc025-fd31-430a-b08b-fb99572e0e66:localhost] 2023-10-27 23:30:04 | [Mutex] waiting for: [received:nodes:9adcc025-fd31-430a-b08b-fb99572e0e66:localhost] 2023-10-27 23:30:04 | [Mutex] waiting for: [received:nodes:9adcc025-fd31-430a-b08b-fb99572e0e66:localhost] 2023-10-27 23:30:04 | [Mutex] waiting for: [received:nodes:9adcc025-fd31-430a-b08b-fb99572e0e66:localhost] 2023-10-27 23:30:04 | [Mutex] waiting for: [received:nodes:9adcc025-fd31-430a-b08b-fb99572e0e66:localhost] 2023-10-27 23:30:04 | [Mutex] received everything. 2023-10-27 23:30:04 | [Mutex] isItemNotified: received:node:9adcc025-fd31-430a-b08b-fb99572e0e66:localhost:node-2eedc54a-8497-48c4-8876-f99431bd921e:Node 2eedc54a-8497-48c4-8876-f99431bd921e :: true |
deleteNodes | 1.019s |
2023-10-27 23:30:09 |
2023-10-27 23:30:09 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:09 | ------------------------------------ 2023-10-27 23:30:09 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-2eedc54a-8497-48c4-8876-f99431bd921e</node></data> 2023-10-27 23:30:09 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-27 23:30:10 | [Mutex] waiting for: [received:nodes:4bdc99b0-f9f4-4567-a0ef-d37259b5c958:localhost] 2023-10-27 23:30:10 | [Mutex] waiting for: [received:nodes:4bdc99b0-f9f4-4567-a0ef-d37259b5c958:localhost] 2023-10-27 23:30:10 | [Mutex] waiting for: [received:nodes:4bdc99b0-f9f4-4567-a0ef-d37259b5c958:localhost] 2023-10-27 23:30:10 | [Mutex] received everything. 2023-10-27 23:30:10 | [Mutex] isItemNotified: received:node:4bdc99b0-f9f4-4567-a0ef-d37259b5c958:localhost:node-2eedc54a-8497-48c4-8876-f99431bd921e:Node 2eedc54a-8497-48c4-8876-f99431bd921e :: false |
deleteSubnodes | 1.119s |
2023-10-27 23:30:08 |
2023-10-27 23:30:08 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:08 | ------------------------------------ 2023-10-27 23:30:08 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node></data> 2023-10-27 23:30:08 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-10-27 23:30:09 | [Mutex] waiting for: [received:nodes:b2597ac0-b68b-4a1e-8a2e-d1b0a429a0cf:localhost] 2023-10-27 23:30:09 | [Mutex] waiting for: [received:nodes:b2597ac0-b68b-4a1e-8a2e-d1b0a429a0cf:localhost] 2023-10-27 23:30:09 | [Mutex] waiting for: [received:nodes:b2597ac0-b68b-4a1e-8a2e-d1b0a429a0cf:localhost] 2023-10-27 23:30:09 | [Mutex] waiting for: [received:nodes:b2597ac0-b68b-4a1e-8a2e-d1b0a429a0cf:localhost] 2023-10-27 23:30:09 | [Mutex] received everything. 2023-10-27 23:30:09 | [Mutex] isItemNotified: received:node:b2597ac0-b68b-4a1e-8a2e-d1b0a429a0cf:localhost:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:Node ffa02e6f-481c-4de3-975d-9f596a5556a3 :: false 2023-10-27 23:30:09 | [Mutex] waiting for: [received:nodes:38f44921-da54-4fe7-828b-e1b7a04aadc5:localhost] 2023-10-27 23:30:09 | [Mutex] received everything. 2023-10-27 23:30:09 | [Mutex] isItemNotified: received:node:38f44921-da54-4fe7-828b-e1b7a04aadc5:localhost:node-ffa02e6f-481c-4de3-975d-9f596a5556a3:Node ffa02e6f-481c-4de3-975d-9f596a5556a3 :: false |
publishItemsToNodes | 0.172s |
2023-10-27 23:30:06 |
2023-10-27 23:30:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:06 | ------------------------------------ 2023-10-27 23:30:06 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node><item-id>item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</item-id><entry><test>item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</test></entry></data> 2023-10-27 23:30: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-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</value></item-id></result> 2023-10-27 23:30:07 | [Mutex] received everything. 2023-10-27 23:30:07 | [Mutex] isItemNotified: published:item:notifieditem-ba3a7b9c-2ce4-4b51-b848-61a6b9148265:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2023-10-27 23:30:07 |
2023-10-27 23:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:07 | ------------------------------------ 2023-10-27 23:30:07 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node><item-id>item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</item-id></data> 2023-10-27 23:30:07 | 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-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</value></item-id></result> 2023-10-27 23:30:07 | [Mutex] received everything. 2023-10-27 23:30:07 | [Mutex] isItemNotified: retracted:item:notifieditem-ba3a7b9c-2ce4-4b51-b848-61a6b9148265:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.198s |
2023-10-27 23:30:07 |
2023-10-27 23:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:07 | ------------------------------------ 2023-10-27 23:30:07 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node><item-id>item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</item-id></data> 2023-10-27 23:30: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-ffa02e6f-481c-4de3-975d-9f596a5556a3</value></node><item-id type="text-single" label="Item ID"><value>item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</value></item-id><item type="text-multi" label="Item"><value><item id="item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265"><test>item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265</test></item></value></item></result> 2023-10-27 23:30:07 | [Mutex] notify: [retrieved:item:item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265:payload-matches:true:localhost] 2023-10-27 23:30:07 | [Mutex] received everything. 2023-10-27 23:30:07 | [Mutex] isItemNotified: retrieved:item:item-ba3a7b9c-2ce4-4b51-b848-61a6b9148265:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-10-27 23:30:07 |
2023-10-27 23:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:07 | ------------------------------------ 2023-10-27 23:30:07 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-10-27 23:30:07 | 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-2eedc54a-8497-48c4-8876-f99431bd921e</value><value>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-10-27 23:30:07 |
2023-10-27 23:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:07 | ------------------------------------ 2023-10-27 23:30: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-ffa02e6f-481c-4de3-975d-9f596a5556a3)</node-pattern></data> 2023-10-27 23:30:07 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.126s |
2023-10-27 23:30:05 |
2023-10-27 23:30:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:05 | ------------------------------------ 2023-10-27 23:30:05 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node><jids><value>admin@test-domain.com</value></jids></data> 2023-10-27 23:30:05 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.191s |
2023-10-27 23:30:07 |
2023-10-27 23:30:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-10-27 23:30:07 | ------------------------------------ 2023-10-27 23:30:07 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ffa02e6f-481c-4de3-975d-9f596a5556a3</node><jids><value>admin@test-domain.com</value></jids></data> 2023-10-27 23:30:07 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |