Test duration : 9.387s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.099s |
2022-08-11 23:05:01 |
2022-08-11 23:05:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:01 | ------------------------------------ 2022-08-11 23:05:01 | [Mutex] waiting for: [configured:node:node-53699e11-8682-42ab-9d96-78165ff2eedd:node-d2a4909b-6499-4ca5-b718-96e1a6e02ebe] 2022-08-11 23:05:01 | [Mutex] received everything. 2022-08-11 23:05:01 | [Mutex] isItemNotified: configured:node:node-53699e11-8682-42ab-9d96-78165ff2eedd:node-d2a4909b-6499-4ca5-b718-96e1a6e02ebe :: true 2022-08-11 23:05:02 | [Mutex] waiting for: [received:nodes:c732f384-4246-485d-b0ef-fcb919f9ab45:localhost] 2022-08-11 23:05:02 | [Mutex] received everything. 2022-08-11 23:05:02 | [Mutex] isItemNotified: received:node:c732f384-4246-485d-b0ef-fcb919f9ab45:localhost:node-53699e11-8682-42ab-9d96-78165ff2eedd:Node 53699e11-8682-42ab-9d96-78165ff2eedd :: true 2022-08-11 23:05:02 | [Mutex] waiting for: [received:nodes:df4a0b89-e6bb-4372-a6cf-d63408d066ff:localhost] 2022-08-11 23:05:02 | [Mutex] received everything. 2022-08-11 23:05:02 | [Mutex] isItemNotified: received:node:df4a0b89-e6bb-4372-a6cf-d63408d066ff:localhost:node-53699e11-8682-42ab-9d96-78165ff2eedd:Node 53699e11-8682-42ab-9d96-78165ff2eedd :: false |
createNodes | 1.351s |
2022-08-11 23:04:59 |
2022-08-11 23:04:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:04:59 | ------------------------------------ 2022-08-11 23:04:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 53699e11-8682-42ab-9d96-78165ff2eedd</title></pubsub></data> 2022-08-11 23:04:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:05:00 | [Mutex] waiting for: [received:nodes:65ba7d8d-46c6-4548-95e5-d680be18488c:localhost] 2022-08-11 23:05:00 | [Mutex] received everything. 2022-08-11 23:05:00 | [Mutex] isItemNotified: received:node:65ba7d8d-46c6-4548-95e5-d680be18488c:localhost:node-53699e11-8682-42ab-9d96-78165ff2eedd:Node 53699e11-8682-42ab-9d96-78165ff2eedd :: true |
createSubnodes | 1.023s |
2022-08-11 23:05:00 |
2022-08-11 23:05:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:00 | ------------------------------------ 2022-08-11 23:05:00 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-d2a4909b-6499-4ca5-b718-96e1a6e02ebe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node d2a4909b-6499-4ca5-b718-96e1a6e02ebe</title></pubsub></data> 2022-08-11 23:05:00 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:05:01 | [Mutex] waiting for: [received:nodes:861b1ca7-56a3-4f81-a76e-5db2fd9dfb3e:localhost] 2022-08-11 23:05:01 | [Mutex] waiting for: [received:nodes:861b1ca7-56a3-4f81-a76e-5db2fd9dfb3e:localhost] 2022-08-11 23:05:01 | [Mutex] received everything. 2022-08-11 23:05:01 | [Mutex] isItemNotified: received:node:861b1ca7-56a3-4f81-a76e-5db2fd9dfb3e:localhost:node-d2a4909b-6499-4ca5-b718-96e1a6e02ebe:Node d2a4909b-6499-4ca5-b718-96e1a6e02ebe :: true |
deleteNodes | 1.017s |
2022-08-11 23:05:07 |
2022-08-11 23:05:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:07 | ------------------------------------ 2022-08-11 23:05:07 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-d2a4909b-6499-4ca5-b718-96e1a6e02ebe</node></data> 2022-08-11 23:05:07 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:05:08 | [Mutex] waiting for: [received:nodes:2c842ca6-d974-4205-bb7a-b750b55b7b38:localhost] 2022-08-11 23:05:08 | [Mutex] received everything. 2022-08-11 23:05:08 | [Mutex] isItemNotified: received:node:2c842ca6-d974-4205-bb7a-b750b55b7b38:localhost:node-d2a4909b-6499-4ca5-b718-96e1a6e02ebe:Node d2a4909b-6499-4ca5-b718-96e1a6e02ebe :: false |
deleteSubnodes | 1.116s |
2022-08-11 23:05:06 |
2022-08-11 23:05:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:06 | ------------------------------------ 2022-08-11 23:05:06 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node></data> 2022-08-11 23:05:06 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-11 23:05:07 | [Mutex] waiting for: [received:nodes:013b4b58-c054-45b4-adfc-bed83bc0bf9c:localhost] 2022-08-11 23:05:07 | [Mutex] received everything. 2022-08-11 23:05:07 | [Mutex] isItemNotified: received:node:013b4b58-c054-45b4-adfc-bed83bc0bf9c:localhost:node-53699e11-8682-42ab-9d96-78165ff2eedd:Node 53699e11-8682-42ab-9d96-78165ff2eedd :: false 2022-08-11 23:05:07 | [Mutex] waiting for: [received:nodes:5f2e5f08-08c5-4a91-946d-e291fcb8ac55:localhost] 2022-08-11 23:05:07 | [Mutex] received everything. 2022-08-11 23:05:07 | [Mutex] isItemNotified: received:node:5f2e5f08-08c5-4a91-946d-e291fcb8ac55:localhost:node-53699e11-8682-42ab-9d96-78165ff2eedd:Node 53699e11-8682-42ab-9d96-78165ff2eedd :: false |
publishItemsToNodes | 0.266s |
2022-08-11 23:05:03 |
2022-08-11 23:05:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:03 | ------------------------------------ 2022-08-11 23:05:03 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node><item-id>item-b4beb95c-ef1b-4db8-8758-2763f2ee9765</item-id><entry><test>item-b4beb95c-ef1b-4db8-8758-2763f2ee9765</test></entry></data> 2022-08-11 23:05:04 | 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-b4beb95c-ef1b-4db8-8758-2763f2ee9765</value></item-id></result> 2022-08-11 23:05:04 | [Mutex] received everything. 2022-08-11 23:05:04 | [Mutex] isItemNotified: published:item:notifieditem-b4beb95c-ef1b-4db8-8758-2763f2ee9765:admin@test-domain.com :: true |
retractItemsFromNodes | 0.314s |
2022-08-11 23:05:04 |
2022-08-11 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:04 | ------------------------------------ 2022-08-11 23:05:04 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node><item-id>item-b4beb95c-ef1b-4db8-8758-2763f2ee9765</item-id></data> 2022-08-11 23:05:04 | 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-b4beb95c-ef1b-4db8-8758-2763f2ee9765</value></item-id></result> 2022-08-11 23:05:04 | [Mutex] received everything. 2022-08-11 23:05:04 | [Mutex] isItemNotified: retracted:item:notifieditem-b4beb95c-ef1b-4db8-8758-2763f2ee9765:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.273s |
2022-08-11 23:05:04 |
2022-08-11 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:04 | ------------------------------------ 2022-08-11 23:05:04 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node><item-id>item-b4beb95c-ef1b-4db8-8758-2763f2ee9765</item-id></data> 2022-08-11 23:05:04 | 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-53699e11-8682-42ab-9d96-78165ff2eedd</value></node><item-id type="text-single" label="Item ID"><value>item-b4beb95c-ef1b-4db8-8758-2763f2ee9765</value></item-id><item type="text-multi" label="Item"><value><item id="item-b4beb95c-ef1b-4db8-8758-2763f2ee9765"><test>item-b4beb95c-ef1b-4db8-8758-2763f2ee9765</test></item></value></item></result> 2022-08-11 23:05:04 | [Mutex] notify: [retrieved:item:item-b4beb95c-ef1b-4db8-8758-2763f2ee9765:payload-matches:true:localhost] 2022-08-11 23:05:04 | [Mutex] received everything. 2022-08-11 23:05:04 | [Mutex] isItemNotified: retrieved:item:item-b4beb95c-ef1b-4db8-8758-2763f2ee9765:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2022-08-11 23:05:04 |
2022-08-11 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:04 | ------------------------------------ 2022-08-11 23:05:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-11 23:05:04 | 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-d2a4909b-6499-4ca5-b718-96e1a6e02ebe</value><value>node-53699e11-8682-42ab-9d96-78165ff2eedd</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.063s |
2022-08-11 23:05:04 |
2022-08-11 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:04 | ------------------------------------ 2022-08-11 23:05:04 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-53699e11-8682-42ab-9d96-78165ff2eedd)</node-pattern></data> 2022-08-11 23:05:04 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.125s |
2022-08-11 23:05:02 |
2022-08-11 23:05:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:02 | ------------------------------------ 2022-08-11 23:05:02 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-11 23:05:02 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.119s |
2022-08-11 23:05:04 |
2022-08-11 23:05:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-11 23:05:04 | ------------------------------------ 2022-08-11 23:05:04 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-53699e11-8682-42ab-9d96-78165ff2eedd</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-11 23:05:05 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |