Test duration : 9.662s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.095s |
2022-08-07 23:02:25 |
2022-08-07 23:02:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:25 | ------------------------------------ 2022-08-07 23:02:25 | [Mutex] waiting for: [configured:node:node-10e42659-ca27-4278-9ba0-dfba2707766f:node-6e15fab3-829e-42f4-bd6f-3ce773270ced] 2022-08-07 23:02:25 | [Mutex] received everything. 2022-08-07 23:02:25 | [Mutex] isItemNotified: configured:node:node-10e42659-ca27-4278-9ba0-dfba2707766f:node-6e15fab3-829e-42f4-bd6f-3ce773270ced :: true 2022-08-07 23:02:26 | [Mutex] waiting for: [received:nodes:7f622270-f5a0-4d9b-9dc2-6336c01f0167:localhost] 2022-08-07 23:02:26 | [Mutex] received everything. 2022-08-07 23:02:26 | [Mutex] isItemNotified: received:node:7f622270-f5a0-4d9b-9dc2-6336c01f0167:localhost:node-10e42659-ca27-4278-9ba0-dfba2707766f:Node 10e42659-ca27-4278-9ba0-dfba2707766f :: true 2022-08-07 23:02:26 | [Mutex] waiting for: [received:nodes:a54ef901-81f3-4600-a408-10739df3eccb:localhost] 2022-08-07 23:02:26 | [Mutex] received everything. 2022-08-07 23:02:26 | [Mutex] isItemNotified: received:node:a54ef901-81f3-4600-a408-10739df3eccb:localhost:node-10e42659-ca27-4278-9ba0-dfba2707766f:Node 10e42659-ca27-4278-9ba0-dfba2707766f :: false |
createNodes | 1.583s |
2022-08-07 23:02:23 |
2022-08-07 23:02:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:23 | ------------------------------------ 2022-08-07 23:02:23 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 10e42659-ca27-4278-9ba0-dfba2707766f</title></pubsub></data> 2022-08-07 23:02:23 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 23:02:24 | [Mutex] waiting for: [received:nodes:226aa117-0fef-4121-b7f1-6e3daa43aac4:localhost] 2022-08-07 23:02:24 | [Mutex] received everything. 2022-08-07 23:02:24 | [Mutex] isItemNotified: received:node:226aa117-0fef-4121-b7f1-6e3daa43aac4:localhost:node-10e42659-ca27-4278-9ba0-dfba2707766f:Node 10e42659-ca27-4278-9ba0-dfba2707766f :: true |
createSubnodes | 1.025s |
2022-08-07 23:02:24 |
2022-08-07 23:02:24 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:24 | ------------------------------------ 2022-08-07 23:02:24 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-6e15fab3-829e-42f4-bd6f-3ce773270ced</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 6e15fab3-829e-42f4-bd6f-3ce773270ced</title></pubsub></data> 2022-08-07 23:02:24 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 23:02:25 | [Mutex] waiting for: [received:nodes:1e6b653f-2b44-4a5c-910d-694dafcd8d53:localhost] 2022-08-07 23:02:25 | [Mutex] received everything. 2022-08-07 23:02:25 | [Mutex] isItemNotified: received:node:1e6b653f-2b44-4a5c-910d-694dafcd8d53:localhost:node-6e15fab3-829e-42f4-bd6f-3ce773270ced:Node 6e15fab3-829e-42f4-bd6f-3ce773270ced :: true |
deleteNodes | 1.015s |
2022-08-07 23:02:31 |
2022-08-07 23:02:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:31 | ------------------------------------ 2022-08-07 23:02:31 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-6e15fab3-829e-42f4-bd6f-3ce773270ced</node></data> 2022-08-07 23:02:31 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 23:02:32 | [Mutex] waiting for: [received:nodes:99508cb0-5dc7-4e1c-bc59-0b2d05a76f5d:localhost] 2022-08-07 23:02:32 | [Mutex] received everything. 2022-08-07 23:02:32 | [Mutex] isItemNotified: received:node:99508cb0-5dc7-4e1c-bc59-0b2d05a76f5d:localhost:node-6e15fab3-829e-42f4-bd6f-3ce773270ced:Node 6e15fab3-829e-42f4-bd6f-3ce773270ced :: false |
deleteSubnodes | 1.116s |
2022-08-07 23:02:30 |
2022-08-07 23:02:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:30 | ------------------------------------ 2022-08-07 23:02:30 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node></data> 2022-08-07 23:02:30 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-08-07 23:02:31 | [Mutex] waiting for: [received:nodes:79f62a0c-0ed1-4bb0-bec5-6babdd7ef179:localhost] 2022-08-07 23:02:31 | [Mutex] received everything. 2022-08-07 23:02:31 | [Mutex] isItemNotified: received:node:79f62a0c-0ed1-4bb0-bec5-6babdd7ef179:localhost:node-10e42659-ca27-4278-9ba0-dfba2707766f:Node 10e42659-ca27-4278-9ba0-dfba2707766f :: false 2022-08-07 23:02:31 | [Mutex] waiting for: [received:nodes:330e0e95-1a86-4d94-9391-87e10cb6fb82:localhost] 2022-08-07 23:02:31 | [Mutex] received everything. 2022-08-07 23:02:31 | [Mutex] isItemNotified: received:node:330e0e95-1a86-4d94-9391-87e10cb6fb82:localhost:node-10e42659-ca27-4278-9ba0-dfba2707766f:Node 10e42659-ca27-4278-9ba0-dfba2707766f :: false |
publishItemsToNodes | 0.231s |
2022-08-07 23:02:28 |
2022-08-07 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:28 | ------------------------------------ 2022-08-07 23:02:28 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node><item-id>item-556dfc29-4ef8-45e6-8537-a69eccae489f</item-id><entry><test>item-556dfc29-4ef8-45e6-8537-a69eccae489f</test></entry></data> 2022-08-07 23:02:28 | 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-556dfc29-4ef8-45e6-8537-a69eccae489f</value></item-id></result> 2022-08-07 23:02:28 | [Mutex] waiting for: [published:item:notifieditem-556dfc29-4ef8-45e6-8537-a69eccae489f:admin@test-domain.com] 2022-08-07 23:02:28 | [Mutex] received everything. 2022-08-07 23:02:28 | [Mutex] isItemNotified: published:item:notifieditem-556dfc29-4ef8-45e6-8537-a69eccae489f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.241s |
2022-08-07 23:02:28 |
2022-08-07 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:28 | ------------------------------------ 2022-08-07 23:02:28 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node><item-id>item-556dfc29-4ef8-45e6-8537-a69eccae489f</item-id></data> 2022-08-07 23:02:28 | 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-556dfc29-4ef8-45e6-8537-a69eccae489f</value></item-id></result> 2022-08-07 23:02:28 | [Mutex] waiting for: [retracted:item:notifieditem-556dfc29-4ef8-45e6-8537-a69eccae489f:admin@test-domain.com] 2022-08-07 23:02:28 | [Mutex] received everything. 2022-08-07 23:02:28 | [Mutex] isItemNotified: retracted:item:notifieditem-556dfc29-4ef8-45e6-8537-a69eccae489f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.306s |
2022-08-07 23:02:28 |
2022-08-07 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:28 | ------------------------------------ 2022-08-07 23:02:28 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node><item-id>item-556dfc29-4ef8-45e6-8537-a69eccae489f</item-id></data> 2022-08-07 23:02:28 | 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-10e42659-ca27-4278-9ba0-dfba2707766f</value></node><item-id type="text-single" label="Item ID"><value>item-556dfc29-4ef8-45e6-8537-a69eccae489f</value></item-id><item type="text-multi" label="Item"><value><item id="item-556dfc29-4ef8-45e6-8537-a69eccae489f"><test>item-556dfc29-4ef8-45e6-8537-a69eccae489f</test></item></value></item></result> 2022-08-07 23:02:28 | [Mutex] notify: [retrieved:item:item-556dfc29-4ef8-45e6-8537-a69eccae489f:payload-matches:true:localhost] 2022-08-07 23:02:28 | [Mutex] received everything. 2022-08-07 23:02:28 | [Mutex] isItemNotified: retrieved:item:item-556dfc29-4ef8-45e6-8537-a69eccae489f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2022-08-07 23:02:28 |
2022-08-07 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:28 | ------------------------------------ 2022-08-07 23:02:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-08-07 23:02:28 | 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-10e42659-ca27-4278-9ba0-dfba2707766f</value><value>node-6e15fab3-829e-42f4-bd6f-3ce773270ced</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.061s |
2022-08-07 23:02:28 |
2022-08-07 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:28 | ------------------------------------ 2022-08-07 23:02:28 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-10e42659-ca27-4278-9ba0-dfba2707766f)</node-pattern></data> 2022-08-07 23:02:28 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.109s |
2022-08-07 23:02:26 |
2022-08-07 23:02:26 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:26 | ------------------------------------ 2022-08-07 23:02:26 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-07 23:02:27 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.237s |
2022-08-07 23:02:28 |
2022-08-07 23:02:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-08-07 23:02:28 | ------------------------------------ 2022-08-07 23:02:28 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-10e42659-ca27-4278-9ba0-dfba2707766f</node><jids><value>admin@test-domain.com</value></jids></data> 2022-08-07 23:02:29 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |