Test duration : 9.348s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.120s |
2023-06-04 22:59:22 |
2023-06-04 22:59:22 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:22 | ------------------------------------ 2023-06-04 22:59:22 | [Mutex] waiting for: [configured:node:node-401b12d0-9392-4a82-8b08-7b62c29c194d:node-035c2dde-af80-4269-b473-289aca772d44] 2023-06-04 22:59:22 | [Mutex] received everything. 2023-06-04 22:59:22 | [Mutex] isItemNotified: configured:node:node-401b12d0-9392-4a82-8b08-7b62c29c194d:node-035c2dde-af80-4269-b473-289aca772d44 :: true 2023-06-04 22:59:23 | [Mutex] waiting for: [received:nodes:1c94156e-d0b1-4d99-beba-95feafe7fff7:localhost] 2023-06-04 22:59:23 | [Mutex] received everything. 2023-06-04 22:59:23 | [Mutex] isItemNotified: received:node:1c94156e-d0b1-4d99-beba-95feafe7fff7:localhost:node-401b12d0-9392-4a82-8b08-7b62c29c194d:Node 401b12d0-9392-4a82-8b08-7b62c29c194d :: true 2023-06-04 22:59:23 | [Mutex] waiting for: [received:nodes:1770b395-49c7-4e6c-a4fb-b6e4d29e2bf1:localhost] 2023-06-04 22:59:23 | [Mutex] waiting for: [received:nodes:1770b395-49c7-4e6c-a4fb-b6e4d29e2bf1:localhost] 2023-06-04 22:59:23 | [Mutex] waiting for: [received:nodes:1770b395-49c7-4e6c-a4fb-b6e4d29e2bf1:localhost] 2023-06-04 22:59:23 | [Mutex] waiting for: [received:nodes:1770b395-49c7-4e6c-a4fb-b6e4d29e2bf1:localhost] 2023-06-04 22:59:23 | [Mutex] received everything. 2023-06-04 22:59:23 | [Mutex] isItemNotified: received:node:1770b395-49c7-4e6c-a4fb-b6e4d29e2bf1:localhost:node-401b12d0-9392-4a82-8b08-7b62c29c194d:Node 401b12d0-9392-4a82-8b08-7b62c29c194d :: false |
createNodes | 1.372s |
2023-06-04 22:59:20 |
2023-06-04 22:59:20 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:20 | ------------------------------------ 2023-06-04 22:59:20 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 401b12d0-9392-4a82-8b08-7b62c29c194d</title></pubsub></data> 2023-06-04 22:59:20 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:59:21 | [Mutex] waiting for: [received:nodes:0e6719fc-985c-4c04-8d0b-5f5747273a0c:localhost] 2023-06-04 22:59:21 | [Mutex] waiting for: [received:nodes:0e6719fc-985c-4c04-8d0b-5f5747273a0c:localhost] 2023-06-04 22:59:21 | [Mutex] waiting for: [received:nodes:0e6719fc-985c-4c04-8d0b-5f5747273a0c:localhost] 2023-06-04 22:59:21 | [Mutex] received everything. 2023-06-04 22:59:21 | [Mutex] isItemNotified: received:node:0e6719fc-985c-4c04-8d0b-5f5747273a0c:localhost:node-401b12d0-9392-4a82-8b08-7b62c29c194d:Node 401b12d0-9392-4a82-8b08-7b62c29c194d :: true |
createSubnodes | 1.028s |
2023-06-04 22:59:21 |
2023-06-04 22:59:21 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:21 | ------------------------------------ 2023-06-04 22:59:21 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-035c2dde-af80-4269-b473-289aca772d44</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 035c2dde-af80-4269-b473-289aca772d44</title></pubsub></data> 2023-06-04 22:59:21 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:59:22 | [Mutex] waiting for: [received:nodes:344c12bd-2b6b-472e-9946-4f635b9c678c:localhost] 2023-06-04 22:59:22 | [Mutex] received everything. 2023-06-04 22:59:22 | [Mutex] isItemNotified: received:node:344c12bd-2b6b-472e-9946-4f635b9c678c:localhost:node-035c2dde-af80-4269-b473-289aca772d44:Node 035c2dde-af80-4269-b473-289aca772d44 :: true |
deleteNodes | 1.015s |
2023-06-04 22:59:28 |
2023-06-04 22:59:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:28 | ------------------------------------ 2023-06-04 22:59:28 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-035c2dde-af80-4269-b473-289aca772d44</node></data> 2023-06-04 22:59:28 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:59:29 | [Mutex] waiting for: [received:nodes:9c7efacd-77ef-4b48-985a-2e35d8c9f825:localhost] 2023-06-04 22:59:29 | [Mutex] waiting for: [received:nodes:9c7efacd-77ef-4b48-985a-2e35d8c9f825:localhost] 2023-06-04 22:59:29 | [Mutex] waiting for: [received:nodes:9c7efacd-77ef-4b48-985a-2e35d8c9f825:localhost] 2023-06-04 22:59:29 | [Mutex] received everything. 2023-06-04 22:59:29 | [Mutex] isItemNotified: received:node:9c7efacd-77ef-4b48-985a-2e35d8c9f825:localhost:node-035c2dde-af80-4269-b473-289aca772d44:Node 035c2dde-af80-4269-b473-289aca772d44 :: false |
deleteSubnodes | 1.140s |
2023-06-04 22:59:27 |
2023-06-04 22:59:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:27 | ------------------------------------ 2023-06-04 22:59:27 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node></data> 2023-06-04 22:59:27 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-06-04 22:59:28 | [Mutex] waiting for: [received:nodes:b8324562-afdb-450a-8a2c-dfeeb2b64b12:localhost] 2023-06-04 22:59:28 | [Mutex] waiting for: [received:nodes:b8324562-afdb-450a-8a2c-dfeeb2b64b12:localhost] 2023-06-04 22:59:28 | [Mutex] waiting for: [received:nodes:b8324562-afdb-450a-8a2c-dfeeb2b64b12:localhost] 2023-06-04 22:59:28 | [Mutex] waiting for: [received:nodes:b8324562-afdb-450a-8a2c-dfeeb2b64b12:localhost] 2023-06-04 22:59:28 | [Mutex] received everything. 2023-06-04 22:59:28 | [Mutex] isItemNotified: received:node:b8324562-afdb-450a-8a2c-dfeeb2b64b12:localhost:node-401b12d0-9392-4a82-8b08-7b62c29c194d:Node 401b12d0-9392-4a82-8b08-7b62c29c194d :: false 2023-06-04 22:59:28 | [Mutex] waiting for: [received:nodes:1cf4d3f8-f3c9-41c5-8b6b-920dbf622e3c:localhost] 2023-06-04 22:59:28 | [Mutex] received everything. 2023-06-04 22:59:28 | [Mutex] isItemNotified: received:node:1cf4d3f8-f3c9-41c5-8b6b-920dbf622e3c:localhost:node-401b12d0-9392-4a82-8b08-7b62c29c194d:Node 401b12d0-9392-4a82-8b08-7b62c29c194d :: false |
publishItemsToNodes | 0.242s |
2023-06-04 22:59:25 |
2023-06-04 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:25 | ------------------------------------ 2023-06-04 22:59:25 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node><item-id>item-00020301-ebc3-4957-9616-2cf09c3dfa0f</item-id><entry><test>item-00020301-ebc3-4957-9616-2cf09c3dfa0f</test></entry></data> 2023-06-04 22:59:25 | 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-00020301-ebc3-4957-9616-2cf09c3dfa0f</value></item-id></result> 2023-06-04 22:59:25 | [Mutex] waiting for: [published:item:notifieditem-00020301-ebc3-4957-9616-2cf09c3dfa0f:admin@test-domain.com] 2023-06-04 22:59:25 | [Mutex] received everything. 2023-06-04 22:59:25 | [Mutex] isItemNotified: published:item:notifieditem-00020301-ebc3-4957-9616-2cf09c3dfa0f:admin@test-domain.com :: true |
retractItemsFromNodes | 0.246s |
2023-06-04 22:59:25 |
2023-06-04 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:25 | ------------------------------------ 2023-06-04 22:59:25 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node><item-id>item-00020301-ebc3-4957-9616-2cf09c3dfa0f</item-id></data> 2023-06-04 22:59:25 | 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-00020301-ebc3-4957-9616-2cf09c3dfa0f</value></item-id></result> 2023-06-04 22:59:25 | [Mutex] waiting for: [retracted:item:notifieditem-00020301-ebc3-4957-9616-2cf09c3dfa0f:admin@test-domain.com] 2023-06-04 22:59:25 | [Mutex] received everything. 2023-06-04 22:59:25 | [Mutex] isItemNotified: retracted:item:notifieditem-00020301-ebc3-4957-9616-2cf09c3dfa0f:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.183s |
2023-06-04 22:59:25 |
2023-06-04 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:25 | ------------------------------------ 2023-06-04 22:59:25 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node><item-id>item-00020301-ebc3-4957-9616-2cf09c3dfa0f</item-id></data> 2023-06-04 22:59:25 | 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-401b12d0-9392-4a82-8b08-7b62c29c194d</value></node><item-id type="text-single" label="Item ID"><value>item-00020301-ebc3-4957-9616-2cf09c3dfa0f</value></item-id><item type="text-multi" label="Item"><value><item id="item-00020301-ebc3-4957-9616-2cf09c3dfa0f"><test>item-00020301-ebc3-4957-9616-2cf09c3dfa0f</test></item></value></item></result> 2023-06-04 22:59:25 | [Mutex] notify: [retrieved:item:item-00020301-ebc3-4957-9616-2cf09c3dfa0f:payload-matches:true:localhost] 2023-06-04 22:59:25 | [Mutex] received everything. 2023-06-04 22:59:25 | [Mutex] isItemNotified: retrieved:item:item-00020301-ebc3-4957-9616-2cf09c3dfa0f:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.048s |
2023-06-04 22:59:25 |
2023-06-04 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:25 | ------------------------------------ 2023-06-04 22:59:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-06-04 22:59:25 | 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-401b12d0-9392-4a82-8b08-7b62c29c194d</value><value>node-035c2dde-af80-4269-b473-289aca772d44</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2023-06-04 22:59:25 |
2023-06-04 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:25 | ------------------------------------ 2023-06-04 22:59:25 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-401b12d0-9392-4a82-8b08-7b62c29c194d)</node-pattern></data> 2023-06-04 22:59:25 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.116s |
2023-06-04 22:59:23 |
2023-06-04 22:59:23 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:23 | ------------------------------------ 2023-06-04 22:59:23 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-04 22:59:24 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.200s |
2023-06-04 22:59:25 |
2023-06-04 22:59:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-06-04 22:59:25 | ------------------------------------ 2023-06-04 22:59:25 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-401b12d0-9392-4a82-8b08-7b62c29c194d</node><jids><value>admin@test-domain.com</value></jids></data> 2023-06-04 22:59:26 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |