Test duration : 9.671s
Passed Tests | ||
---|---|---|
tigase.tests.pubsub.TestRestApiUsingXML | ||
configureNodes | 1.080s |
2022-11-24 21:37:28 |
2022-11-24 21:37:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:28 | ------------------------------------ 2022-11-24 21:37:28 | [Mutex] waiting for: [configured:node:node-ad823a92-ec49-4582-8e10-1ac53043dd75:node-1227ab76-98af-44ae-9c0c-e4624242e992] 2022-11-24 21:37:28 | [Mutex] received everything. 2022-11-24 21:37:28 | [Mutex] isItemNotified: configured:node:node-ad823a92-ec49-4582-8e10-1ac53043dd75:node-1227ab76-98af-44ae-9c0c-e4624242e992 :: true 2022-11-24 21:37:29 | [Mutex] waiting for: [received:nodes:bc955a10-e840-4e76-b274-64c2437f468b:localhost] 2022-11-24 21:37:29 | [Mutex] received everything. 2022-11-24 21:37:29 | [Mutex] isItemNotified: received:node:bc955a10-e840-4e76-b274-64c2437f468b:localhost:node-ad823a92-ec49-4582-8e10-1ac53043dd75:Node ad823a92-ec49-4582-8e10-1ac53043dd75 :: true 2022-11-24 21:37:29 | [Mutex] waiting for: [received:nodes:36ef399c-a239-477d-88cc-6bc0440babf7:localhost] 2022-11-24 21:37:29 | [Mutex] waiting for: [received:nodes:36ef399c-a239-477d-88cc-6bc0440babf7:localhost] 2022-11-24 21:37:29 | [Mutex] received everything. 2022-11-24 21:37:29 | [Mutex] isItemNotified: received:node:36ef399c-a239-477d-88cc-6bc0440babf7:localhost:node-ad823a92-ec49-4582-8e10-1ac53043dd75:Node ad823a92-ec49-4582-8e10-1ac53043dd75 :: false |
createNodes | 1.400s |
2022-11-24 21:37:25 |
2022-11-24 21:37:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:25 | ------------------------------------ 2022-11-24 21:37:25 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node ad823a92-ec49-4582-8e10-1ac53043dd75</title></pubsub></data> 2022-11-24 21:37:26 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:37:27 | [Mutex] waiting for: [received:nodes:c593fd8b-80a1-450b-af2b-22830705546f:localhost] 2022-11-24 21:37:27 | [Mutex] received everything. 2022-11-24 21:37:27 | [Mutex] isItemNotified: received:node:c593fd8b-80a1-450b-af2b-22830705546f:localhost:node-ad823a92-ec49-4582-8e10-1ac53043dd75:Node ad823a92-ec49-4582-8e10-1ac53043dd75 :: true |
createSubnodes | 1.029s |
2022-11-24 21:37:27 |
2022-11-24 21:37:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:27 | ------------------------------------ 2022-11-24 21:37:27 | on localhost executing action create-node with content type application/xml and payload: <data><node>node-1227ab76-98af-44ae-9c0c-e4624242e992</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 1227ab76-98af-44ae-9c0c-e4624242e992</title></pubsub></data> 2022-11-24 21:37:27 | from localhost for action create-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:37:28 | [Mutex] waiting for: [received:nodes:2972a884-75c7-473c-8ad4-b553d28a034e:localhost] 2022-11-24 21:37:28 | [Mutex] waiting for: [received:nodes:2972a884-75c7-473c-8ad4-b553d28a034e:localhost] 2022-11-24 21:37:28 | [Mutex] received everything. 2022-11-24 21:37:28 | [Mutex] isItemNotified: received:node:2972a884-75c7-473c-8ad4-b553d28a034e:localhost:node-1227ab76-98af-44ae-9c0c-e4624242e992:Node 1227ab76-98af-44ae-9c0c-e4624242e992 :: true |
deleteNodes | 1.020s |
2022-11-24 21:37:33 |
2022-11-24 21:37:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:33 | ------------------------------------ 2022-11-24 21:37:33 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-1227ab76-98af-44ae-9c0c-e4624242e992</node></data> 2022-11-24 21:37:33 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:37:34 | [Mutex] waiting for: [received:nodes:cdac9631-d576-4529-80b2-8b2961badd77:localhost] 2022-11-24 21:37:34 | [Mutex] waiting for: [received:nodes:cdac9631-d576-4529-80b2-8b2961badd77:localhost] 2022-11-24 21:37:34 | [Mutex] received everything. 2022-11-24 21:37:34 | [Mutex] isItemNotified: received:node:cdac9631-d576-4529-80b2-8b2961badd77:localhost:node-1227ab76-98af-44ae-9c0c-e4624242e992:Node 1227ab76-98af-44ae-9c0c-e4624242e992 :: false |
deleteSubnodes | 1.141s |
2022-11-24 21:37:32 |
2022-11-24 21:37:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:32 | ------------------------------------ 2022-11-24 21:37:32 | on localhost executing action delete-node with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node></data> 2022-11-24 21:37:32 | from localhost for action delete-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> 2022-11-24 21:37:33 | [Mutex] waiting for: [received:nodes:4052251e-0336-4fb1-8ff8-3042b1bc4667:localhost] 2022-11-24 21:37:33 | [Mutex] waiting for: [received:nodes:4052251e-0336-4fb1-8ff8-3042b1bc4667:localhost] 2022-11-24 21:37:33 | [Mutex] received everything. 2022-11-24 21:37:33 | [Mutex] isItemNotified: received:node:4052251e-0336-4fb1-8ff8-3042b1bc4667:localhost:node-ad823a92-ec49-4582-8e10-1ac53043dd75:Node ad823a92-ec49-4582-8e10-1ac53043dd75 :: false 2022-11-24 21:37:33 | [Mutex] waiting for: [received:nodes:210dab34-1af3-4164-a19b-cc34e11264ca:localhost] 2022-11-24 21:37:33 | [Mutex] received everything. 2022-11-24 21:37:33 | [Mutex] isItemNotified: received:node:210dab34-1af3-4164-a19b-cc34e11264ca:localhost:node-ad823a92-ec49-4582-8e10-1ac53043dd75:Node ad823a92-ec49-4582-8e10-1ac53043dd75 :: false |
publishItemsToNodes | 0.217s |
2022-11-24 21:37:30 |
2022-11-24 21:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:30 | ------------------------------------ 2022-11-24 21:37:30 | on localhost executing action publish-item with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node><item-id>item-6130fe0c-acbe-40b4-829f-59f8faf15aaa</item-id><entry><test>item-6130fe0c-acbe-40b4-829f-59f8faf15aaa</test></entry></data> 2022-11-24 21:37:30 | 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-6130fe0c-acbe-40b4-829f-59f8faf15aaa</value></item-id></result> 2022-11-24 21:37:30 | [Mutex] waiting for: [published:item:notifieditem-6130fe0c-acbe-40b4-829f-59f8faf15aaa:admin@test-domain.com] 2022-11-24 21:37:30 | [Mutex] received everything. 2022-11-24 21:37:30 | [Mutex] isItemNotified: published:item:notifieditem-6130fe0c-acbe-40b4-829f-59f8faf15aaa:admin@test-domain.com :: true |
retractItemsFromNodes | 0.291s |
2022-11-24 21:37:30 |
2022-11-24 21:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:30 | ------------------------------------ 2022-11-24 21:37:30 | on localhost executing action delete-item with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node><item-id>item-6130fe0c-acbe-40b4-829f-59f8faf15aaa</item-id></data> 2022-11-24 21:37:31 | 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-6130fe0c-acbe-40b4-829f-59f8faf15aaa</value></item-id></result> 2022-11-24 21:37:31 | [Mutex] received everything. 2022-11-24 21:37:31 | [Mutex] isItemNotified: retracted:item:notifieditem-6130fe0c-acbe-40b4-829f-59f8faf15aaa:admin@test-domain.com :: true |
retrieveItemsFromNodes | 0.228s |
2022-11-24 21:37:30 |
2022-11-24 21:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:30 | ------------------------------------ 2022-11-24 21:37:30 | on localhost executing action retrieve-item with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node><item-id>item-6130fe0c-acbe-40b4-829f-59f8faf15aaa</item-id></data> 2022-11-24 21:37:30 | 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-ad823a92-ec49-4582-8e10-1ac53043dd75</value></node><item-id label="Item ID" type="text-single"><value>item-6130fe0c-acbe-40b4-829f-59f8faf15aaa</value></item-id><item label="Item" type="text-multi"><value><item id="item-6130fe0c-acbe-40b4-829f-59f8faf15aaa"><test>item-6130fe0c-acbe-40b4-829f-59f8faf15aaa</test></item></value></item></result> 2022-11-24 21:37:30 | [Mutex] notify: [retrieved:item:item-6130fe0c-acbe-40b4-829f-59f8faf15aaa:payload-matches:true:localhost] 2022-11-24 21:37:30 | [Mutex] received everything. 2022-11-24 21:37:30 | [Mutex] isItemNotified: retrieved:item:item-6130fe0c-acbe-40b4-829f-59f8faf15aaa:payload-matches:true:localhost :: true |
retrieveUserSubscriptions | 0.050s |
2022-11-24 21:37:30 |
2022-11-24 21:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:30 | ------------------------------------ 2022-11-24 21:37:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid></data> 2022-11-24 21:37:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"><value>test</value><value>node-ad823a92-ec49-4582-8e10-1ac53043dd75</value><value>node-1227ab76-98af-44ae-9c0c-e4624242e992</value></nodes></result> |
retrieveUserSubscriptionsWithRegex | 0.054s |
2022-11-24 21:37:30 |
2022-11-24 21:37:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:30 | ------------------------------------ 2022-11-24 21:37:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload: <data><jid>admin@test-domain.com</jid><node-pattern>(?!node-ad823a92-ec49-4582-8e10-1ac53043dd75)</node-pattern></data> 2022-11-24 21:37:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload <result><nodes label="Nodes" type="text-multi"/></result> |
subscribeNodes | 1.186s |
2022-11-24 21:37:29 |
2022-11-24 21:37:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:29 | ------------------------------------ 2022-11-24 21:37:29 | on localhost executing action subscribe-node with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 21:37:29 | from localhost for action subscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |
unsubscribeNodes | 1.219s |
2022-11-24 21:37:31 |
2022-11-24 21:37:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML] 2022-11-24 21:37:31 | ------------------------------------ 2022-11-24 21:37:31 | on localhost executing action unsubscribe-node with content type application/xml and payload: <data><node>node-ad823a92-ec49-4582-8e10-1ac53043dd75</node><jids><value>admin@test-domain.com</value></jids></data> 2022-11-24 21:37:31 | from localhost for action unsubscribe-node got result code 200 and payload <result><Note type="fixed"><value>Operation successful</value></Note></result> |