Test duration : 9.828s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.089s |
2020-09-02 09:16:44 |
2020-09-02 09:16:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:44 | ------------------------------------ 2020-09-02 09:16:44 | [Mutex] waiting for: [configured:node:node-65c395c2-2419-4666-b127-2a053161dc99:node-85bd3679-2d97-4065-9916-1628b0a6468e] 2020-09-02 09:16:44 | [Mutex] received everything. 2020-09-02 09:16:44 | [Mutex] isItemNotified: configured:node:node-65c395c2-2419-4666-b127-2a053161dc99:node-85bd3679-2d97-4065-9916-1628b0a6468e :: true 2020-09-02 09:16:45 | [Mutex] waiting for: [received:nodes:2b4ae8c0-fcbf-4c69-b639-7ed73692ded8:localhost] 2020-09-02 09:16:45 | [Mutex] received everything. 2020-09-02 09:16:45 | [Mutex] isItemNotified: received:node:2b4ae8c0-fcbf-4c69-b639-7ed73692ded8:localhost:node-65c395c2-2419-4666-b127-2a053161dc99:Node 65c395c2-2419-4666-b127-2a053161dc99 :: true 2020-09-02 09:16:45 | [Mutex] waiting for: [received:nodes:8760bb9a-a965-47bd-8615-50f59b39b1fa:localhost] 2020-09-02 09:16:45 | [Mutex] received everything. 2020-09-02 09:16:45 | [Mutex] isItemNotified: received:node:8760bb9a-a965-47bd-8615-50f59b39b1fa:localhost:node-65c395c2-2419-4666-b127-2a053161dc99:Node 65c395c2-2419-4666-b127-2a053161dc99 :: false |
createNodes | 1.427s |
2020-09-02 09:16:41 |
2020-09-02 09:16:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:41 | ------------------------------------ 2020-09-02 09:16:41 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 65c395c2-2419-4666-b127-2a053161dc99</title></pubsub></data> 2020-09-02 09:16:42 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 09:16:43 | [Mutex] waiting for: [received:nodes:5187d9ee-93d8-4d06-8e50-cb3a74f324ab:localhost] 2020-09-02 09:16:43 | [Mutex] received everything. 2020-09-02 09:16:43 | [Mutex] isItemNotified: received:node:5187d9ee-93d8-4d06-8e50-cb3a74f324ab:localhost:node-65c395c2-2419-4666-b127-2a053161dc99:Node 65c395c2-2419-4666-b127-2a053161dc99 :: true |
createSubnodes | 1.037s |
2020-09-02 09:16:43 |
2020-09-02 09:16:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:43 | ------------------------------------ 2020-09-02 09:16:43 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-85bd3679-2d97-4065-9916-1628b0a6468e</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 85bd3679-2d97-4065-9916-1628b0a6468e</title></pubsub></data> 2020-09-02 09:16:43 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 09:16:44 | [Mutex] waiting for: [received:nodes:9f1dc600-d161-4538-907b-f24189dd4d34:localhost] 2020-09-02 09:16:44 | [Mutex] waiting for: [received:nodes:9f1dc600-d161-4538-907b-f24189dd4d34:localhost] 2020-09-02 09:16:44 | [Mutex] received everything. 2020-09-02 09:16:44 | [Mutex] isItemNotified: received:node:9f1dc600-d161-4538-907b-f24189dd4d34:localhost:node-85bd3679-2d97-4065-9916-1628b0a6468e:Node 85bd3679-2d97-4065-9916-1628b0a6468e :: true |
deleteNodes | 1.022s |
2020-09-02 09:16:49 |
2020-09-02 09:16:49 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:49 | ------------------------------------ 2020-09-02 09:16:49 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-85bd3679-2d97-4065-9916-1628b0a6468e</node></data> 2020-09-02 09:16:49 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 09:16:50 | [Mutex] waiting for: [received:nodes:1542ac6c-6cfa-4707-938a-c2e425ce09cc:localhost] 2020-09-02 09:16:50 | [Mutex] received everything. 2020-09-02 09:16:50 | [Mutex] isItemNotified: received:node:1542ac6c-6cfa-4707-938a-c2e425ce09cc:localhost:node-85bd3679-2d97-4065-9916-1628b0a6468e:Node 85bd3679-2d97-4065-9916-1628b0a6468e :: false |
deleteSubnodes | 1.140s |
2020-09-02 09:16:48 |
2020-09-02 09:16:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:48 | ------------------------------------ 2020-09-02 09:16:48 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node></data> 2020-09-02 09:16:48 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2020-09-02 09:16:49 | [Mutex] waiting for: [received:nodes:65065cc0-4cd7-4e6b-80ca-b0b99b650d8b:localhost] 2020-09-02 09:16:49 | [Mutex] received everything. 2020-09-02 09:16:49 | [Mutex] isItemNotified: received:node:65065cc0-4cd7-4e6b-80ca-b0b99b650d8b:localhost:node-65c395c2-2419-4666-b127-2a053161dc99:Node 65c395c2-2419-4666-b127-2a053161dc99 :: false 2020-09-02 09:16:49 | [Mutex] waiting for: [received:nodes:b0203ba0-bca8-4d87-81a4-38502bf16f1a:localhost] 2020-09-02 09:16:49 | [Mutex] received everything. 2020-09-02 09:16:49 | [Mutex] isItemNotified: received:node:b0203ba0-bca8-4d87-81a4-38502bf16f1a:localhost:node-65c395c2-2419-4666-b127-2a053161dc99:Node 65c395c2-2419-4666-b127-2a053161dc99 :: false |
publishItemsToNodes | 0.184s |
2020-09-02 09:16:46 |
2020-09-02 09:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:46 | ------------------------------------ 2020-09-02 09:16:46 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node><item-id>item-e886f148-56d2-4cf1-84be-d387cb10c71e</item-id><entry><test>item-e886f148-56d2-4cf1-84be-d387cb10c71e</test></entry></data> 2020-09-02 09:16:46 | from localhost for action publish-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-e886f148-56d2-4cf1-84be-d387cb10c71e</value></item-id></result> 2020-09-02 09:16:46 | [Mutex] received everything. 2020-09-02 09:16:46 | [Mutex] isItemNotified: published:item:notifieditem-e886f148-56d2-4cf1-84be-d387cb10c71e:admin@test-domain.com :: true |
retractItemsFromNodes | 0.171s |
2020-09-02 09:16:46 |
2020-09-02 09:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:46 | ------------------------------------ 2020-09-02 09:16:46 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node><item-id>item-e886f148-56d2-4cf1-84be-d387cb10c71e</item-id></data> 2020-09-02 09:16:47 | from localhost for action delete-item got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>item-e886f148-56d2-4cf1-84be-d387cb10c71e</value></item-id></result> 2020-09-02 09:16:47 | [Mutex] received everything. 2020-09-02 09:16:47 | [Mutex] isItemNotified: retracted:item:notifieditem-e886f148-56d2-4cf1-84be-d387cb10c71e:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.286s |
2020-09-02 09:16:46 |
2020-09-02 09:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:46 | ------------------------------------ 2020-09-02 09:16:46 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node><item-id>item-e886f148-56d2-4cf1-84be-d387cb10c71e</item-id></data> 2020-09-02 09:16:46 | from localhost for action retrieve-item got result code 200 and payload <result><title>Retrive PubSub node item</title><node label="Node" type="text-single"><value>node-65c395c2-2419-4666-b127-2a053161dc99</value></node><item-id label="Item ID" type="text-single"><value>item-e886f148-56d2-4cf1-84be-d387cb10c71e</value></item-id><item label="Item" type="text-multi"><value><item id="item-e886f148-56d2-4cf1-84be-d387cb10c71e"><test>item-e886f148-56d2-4cf1-84be-d387cb10c71e</test></item></value></item></result> 2020-09-02 09:16:46 | [Mutex] notify: [retrieved:item:item-e886f148-56d2-4cf1-84be-d387cb10c71e:payload-matches:true:localhost] 2020-09-02 09:16:46 | [Mutex] received everything. 2020-09-02 09:16:46 | [Mutex] isItemNotified: retrieved:item:item-e886f148-56d2-4cf1-84be-d387cb10c71e:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.068s |
2020-09-02 09:16:46 |
2020-09-02 09:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:46 | ------------------------------------ 2020-09-02 09:16:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2020-09-02 09:16:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>node-85bd3679-2d97-4065-9916-1628b0a6468e</value><value>test</value><value>node-65c395c2-2419-4666-b127-2a053161dc99</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.066s |
2020-09-02 09:16:46 |
2020-09-02 09:16:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:46 | ------------------------------------ 2020-09-02 09:16:46 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-65c395c2-2419-4666-b127-2a053161dc99)</node-pattern></data> 2020-09-02 09:16:46 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.123s |
2020-09-02 09:16:45 |
2020-09-02 09:16:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:45 | ------------------------------------ 2020-09-02 09:16:45 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 09:16:45 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.319s |
2020-09-02 09:16:47 |
2020-09-02 09:16:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2020-09-02 09:16:47 | ------------------------------------ 2020-09-02 09:16:47 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-65c395c2-2419-4666-b127-2a053161dc99</node><jids><value>admin@test-domain.com</value></jids></data> 2020-09-02 09:16:47 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |