Test duration : 9.357s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.127s |
2023-07-05 23:40:00 |
2023-07-05 23:40:00 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:00 | ------------------------------------ 2023-07-05 23:40:00 | [Mutex] waiting for: [configured:node:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:node-8147cc81-9c44-4bae-9ffb-6671ef417444] 2023-07-05 23:40:00 | [Mutex] received everything. 2023-07-05 23:40:00 | [Mutex] isItemNotified: configured:node:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:node-8147cc81-9c44-4bae-9ffb-6671ef417444 :: true 2023-07-05 23:40:01 | [Mutex] waiting for: [received:nodes:018f2db0-fd21-4d45-9de7-c4ac302ea45d:localhost] 2023-07-05 23:40:01 | [Mutex] received everything. 2023-07-05 23:40:01 | [Mutex] isItemNotified: received:node:018f2db0-fd21-4d45-9de7-c4ac302ea45d:localhost:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:Node a5edc90f-8f5f-4a23-ab36-4a150677cbfe :: true 2023-07-05 23:40:01 | [Mutex] waiting for: [received:nodes:70f59c0b-5435-49d4-989e-2e6ead614657:localhost] 2023-07-05 23:40:01 | [Mutex] waiting for: [received:nodes:70f59c0b-5435-49d4-989e-2e6ead614657:localhost] 2023-07-05 23:40:01 | [Mutex] waiting for: [received:nodes:70f59c0b-5435-49d4-989e-2e6ead614657:localhost] 2023-07-05 23:40:01 | [Mutex] received everything. 2023-07-05 23:40:01 | [Mutex] isItemNotified: received:node:70f59c0b-5435-49d4-989e-2e6ead614657:localhost:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:Node a5edc90f-8f5f-4a23-ab36-4a150677cbfe :: false |
createNodes | 1.435s |
2023-07-05 23:39:58 |
2023-07-05 23:39:58 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:39:58 | ------------------------------------ 2023-07-05 23:39:58 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node a5edc90f-8f5f-4a23-ab36-4a150677cbfe</title></pubsub></data> 2023-07-05 23:39:58 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:39:59 | [Mutex] waiting for: [received:nodes:66fd179c-f1ed-4e0f-9085-70d903ba8123:localhost] 2023-07-05 23:39:59 | [Mutex] waiting for: [received:nodes:66fd179c-f1ed-4e0f-9085-70d903ba8123:localhost] 2023-07-05 23:39:59 | [Mutex] waiting for: [received:nodes:66fd179c-f1ed-4e0f-9085-70d903ba8123:localhost] 2023-07-05 23:39:59 | [Mutex] waiting for: [received:nodes:66fd179c-f1ed-4e0f-9085-70d903ba8123:localhost] 2023-07-05 23:39:59 | [Mutex] received everything. 2023-07-05 23:39:59 | [Mutex] isItemNotified: received:node:66fd179c-f1ed-4e0f-9085-70d903ba8123:localhost:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:Node a5edc90f-8f5f-4a23-ab36-4a150677cbfe :: true |
createSubnodes | 1.019s |
2023-07-05 23:39:59 |
2023-07-05 23:39:59 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:39:59 | ------------------------------------ 2023-07-05 23:39:59 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-8147cc81-9c44-4bae-9ffb-6671ef417444</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 8147cc81-9c44-4bae-9ffb-6671ef417444</title></pubsub></data> 2023-07-05 23:39:59 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:40:00 | [Mutex] waiting for: [received:nodes:74075e38-59ac-44dc-baaf-92794fd27268:localhost] 2023-07-05 23:40:00 | [Mutex] waiting for: [received:nodes:74075e38-59ac-44dc-baaf-92794fd27268:localhost] 2023-07-05 23:40:00 | [Mutex] waiting for: [received:nodes:74075e38-59ac-44dc-baaf-92794fd27268:localhost] 2023-07-05 23:40:00 | [Mutex] waiting for: [received:nodes:74075e38-59ac-44dc-baaf-92794fd27268:localhost] 2023-07-05 23:40:00 | [Mutex] waiting for: [received:nodes:74075e38-59ac-44dc-baaf-92794fd27268:localhost] 2023-07-05 23:40:00 | [Mutex] received everything. 2023-07-05 23:40:00 | [Mutex] isItemNotified: received:node:74075e38-59ac-44dc-baaf-92794fd27268:localhost:node-8147cc81-9c44-4bae-9ffb-6671ef417444:Node 8147cc81-9c44-4bae-9ffb-6671ef417444 :: true |
deleteNodes | 1.016s |
2023-07-05 23:40:05 |
2023-07-05 23:40:05 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:05 | ------------------------------------ 2023-07-05 23:40:05 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-8147cc81-9c44-4bae-9ffb-6671ef417444</node></data> 2023-07-05 23:40:05 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:40:06 | [Mutex] waiting for: [received:nodes:f74ee5c4-52fe-42f4-a167-e757d9ed6219:localhost] 2023-07-05 23:40:06 | [Mutex] waiting for: [received:nodes:f74ee5c4-52fe-42f4-a167-e757d9ed6219:localhost] 2023-07-05 23:40:06 | [Mutex] waiting for: [received:nodes:f74ee5c4-52fe-42f4-a167-e757d9ed6219:localhost] 2023-07-05 23:40:06 | [Mutex] received everything. 2023-07-05 23:40:06 | [Mutex] isItemNotified: received:node:f74ee5c4-52fe-42f4-a167-e757d9ed6219:localhost:node-8147cc81-9c44-4bae-9ffb-6671ef417444:Node 8147cc81-9c44-4bae-9ffb-6671ef417444 :: false |
deleteSubnodes | 1.154s |
2023-07-05 23:40:04 |
2023-07-05 23:40:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:04 | ------------------------------------ 2023-07-05 23:40:04 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node></data> 2023-07-05 23:40:04 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2023-07-05 23:40:05 | [Mutex] waiting for: [received:nodes:fea5fece-d7f9-44df-b315-f0c942fd3560:localhost] 2023-07-05 23:40:05 | [Mutex] waiting for: [received:nodes:fea5fece-d7f9-44df-b315-f0c942fd3560:localhost] 2023-07-05 23:40:05 | [Mutex] waiting for: [received:nodes:fea5fece-d7f9-44df-b315-f0c942fd3560:localhost] 2023-07-05 23:40:05 | [Mutex] waiting for: [received:nodes:fea5fece-d7f9-44df-b315-f0c942fd3560:localhost] 2023-07-05 23:40:05 | [Mutex] received everything. 2023-07-05 23:40:05 | [Mutex] isItemNotified: received:node:fea5fece-d7f9-44df-b315-f0c942fd3560:localhost:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:Node a5edc90f-8f5f-4a23-ab36-4a150677cbfe :: false 2023-07-05 23:40:05 | [Mutex] waiting for: [received:nodes:a84503a2-1351-47df-91bb-6569056d03ec:localhost] 2023-07-05 23:40:05 | [Mutex] received everything. 2023-07-05 23:40:05 | [Mutex] isItemNotified: received:node:a84503a2-1351-47df-91bb-6569056d03ec:localhost:node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe:Node a5edc90f-8f5f-4a23-ab36-4a150677cbfe :: false |
publishItemsToNodes | 0.178s |
2023-07-05 23:40:02 |
2023-07-05 23:40:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:02 | ------------------------------------ 2023-07-05 23:40:02 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node><item-id>item-7dc02923-28d1-4544-829e-943ae04e12e1</item-id><entry><test>item-7dc02923-28d1-4544-829e-943ae04e12e1</test></entry></data> 2023-07-05 23:40:02 | 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-7dc02923-28d1-4544-829e-943ae04e12e1</value></item-id></result> 2023-07-05 23:40:02 | [Mutex] received everything. 2023-07-05 23:40:02 | [Mutex] isItemNotified: published:item:notifieditem-7dc02923-28d1-4544-829e-943ae04e12e1:admin@test-domain.com :: true |
retractItemsFromNodes | 0.271s |
2023-07-05 23:40:03 |
2023-07-05 23:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:03 | ------------------------------------ 2023-07-05 23:40:03 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node><item-id>item-7dc02923-28d1-4544-829e-943ae04e12e1</item-id></data> 2023-07-05 23:40:03 | 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-7dc02923-28d1-4544-829e-943ae04e12e1</value></item-id></result> 2023-07-05 23:40:03 | [Mutex] received everything. 2023-07-05 23:40:03 | [Mutex] isItemNotified: retracted:item:notifieditem-7dc02923-28d1-4544-829e-943ae04e12e1:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.163s |
2023-07-05 23:40:02 |
2023-07-05 23:40:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:02 | ------------------------------------ 2023-07-05 23:40:02 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node><item-id>item-7dc02923-28d1-4544-829e-943ae04e12e1</item-id></data> 2023-07-05 23:40:03 | 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-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</value></node><item-id type="text-single" label="Item ID"><value>item-7dc02923-28d1-4544-829e-943ae04e12e1</value></item-id><item type="text-multi" label="Item"><value><item id="item-7dc02923-28d1-4544-829e-943ae04e12e1"><test>item-7dc02923-28d1-4544-829e-943ae04e12e1</test></item></value></item></result> 2023-07-05 23:40:03 | [Mutex] notify: [retrieved:item:item-7dc02923-28d1-4544-829e-943ae04e12e1:payload-matches:true:localhost] 2023-07-05 23:40:03 | [Mutex] received everything. 2023-07-05 23:40:03 | [Mutex] isItemNotified: retrieved:item:item-7dc02923-28d1-4544-829e-943ae04e12e1:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.052s |
2023-07-05 23:40:03 |
2023-07-05 23:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:03 | ------------------------------------ 2023-07-05 23:40:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2023-07-05 23:40:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"><value>node-8147cc81-9c44-4bae-9ffb-6671ef417444</value><value>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</value><value>test</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.058s |
2023-07-05 23:40:03 |
2023-07-05 23:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:03 | ------------------------------------ 2023-07-05 23:40:03 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe)</node-pattern></data> 2023-07-05 23:40:03 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes type="text-multi" label="Nodes"/></result> |
subscribeNodes | 1.141s |
2023-07-05 23:40:01 |
2023-07-05 23:40:01 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:01 | ------------------------------------ 2023-07-05 23:40:01 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 23:40:01 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.167s |
2023-07-05 23:40:03 |
2023-07-05 23:40:03 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2023-07-05 23:40:03 | ------------------------------------ 2023-07-05 23:40:03 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-a5edc90f-8f5f-4a23-ab36-4a150677cbfe</node><jids><value>admin@test-domain.com</value></jids></data> 2023-07-05 23:40:03 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |