Generated by TestNG with ReportNG at 22:43 PDT on Sunday 04 October 2020
root@eaa73862192b / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Node and item manipulation using REST API - XML - #4229, #4728

Suites · Log Output

Test duration : 9.660s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.093s
2020-10-04 22:58:42 |

2020-10-04 22:58:42 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:42 | ------------------------------------

2020-10-04 22:58:42 | [Mutex] waiting for: [configured:node:node-856fcac1-5717-4246-a16d-0e2ff5a55607:node-0f1f663d-0fb0-4189-95b2-a440f0a432d3]

2020-10-04 22:58:42 | [Mutex] received everything.

2020-10-04 22:58:42 | [Mutex] isItemNotified: configured:node:node-856fcac1-5717-4246-a16d-0e2ff5a55607:node-0f1f663d-0fb0-4189-95b2-a440f0a432d3 :: true

2020-10-04 22:58:43 | [Mutex] waiting for: [received:nodes:408f717b-ffb2-437c-92f1-bc8598b193f9:localhost]

2020-10-04 22:58:43 | [Mutex] received everything.

2020-10-04 22:58:43 | [Mutex] isItemNotified: received:node:408f717b-ffb2-437c-92f1-bc8598b193f9:localhost:node-856fcac1-5717-4246-a16d-0e2ff5a55607:Node 856fcac1-5717-4246-a16d-0e2ff5a55607 :: true

2020-10-04 22:58:43 | [Mutex] waiting for: [received:nodes:8c534fcf-3f5d-42a1-8e7b-58c20f8dfd89:localhost]

2020-10-04 22:58:43 | [Mutex] received everything.

2020-10-04 22:58:43 | [Mutex] isItemNotified: received:node:8c534fcf-3f5d-42a1-8e7b-58c20f8dfd89:localhost:node-856fcac1-5717-4246-a16d-0e2ff5a55607:Node 856fcac1-5717-4246-a16d-0e2ff5a55607 :: false

createNodes 1.389s
2020-10-04 22:58:40 |

2020-10-04 22:58:40 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:40 | ------------------------------------

2020-10-04 22:58:40 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 856fcac1-5717-4246-a16d-0e2ff5a55607</title></pubsub></data>

2020-10-04 22:58:40 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 22:58:41 | [Mutex] waiting for: [received:nodes:c2ad89a3-d821-4064-8a7d-9e08e237a4b6:localhost]

2020-10-04 22:58:41 | [Mutex] received everything.

2020-10-04 22:58:41 | [Mutex] isItemNotified: received:node:c2ad89a3-d821-4064-8a7d-9e08e237a4b6:localhost:node-856fcac1-5717-4246-a16d-0e2ff5a55607:Node 856fcac1-5717-4246-a16d-0e2ff5a55607 :: true

createSubnodes 1.037s
2020-10-04 22:58:41 |

2020-10-04 22:58:41 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:41 | ------------------------------------

2020-10-04 22:58:41 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-0f1f663d-0fb0-4189-95b2-a440f0a432d3</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 0f1f663d-0fb0-4189-95b2-a440f0a432d3</title></pubsub></data>

2020-10-04 22:58:41 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 22:58:42 | [Mutex] waiting for: [received:nodes:71773ba9-ff44-4832-a2df-bf48f086a394:localhost]

2020-10-04 22:58:42 | [Mutex] received everything.

2020-10-04 22:58:42 | [Mutex] isItemNotified: received:node:71773ba9-ff44-4832-a2df-bf48f086a394:localhost:node-0f1f663d-0fb0-4189-95b2-a440f0a432d3:Node 0f1f663d-0fb0-4189-95b2-a440f0a432d3 :: true

deleteNodes 1.025s
2020-10-04 22:58:48 |

2020-10-04 22:58:48 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:48 | ------------------------------------

2020-10-04 22:58:48 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-0f1f663d-0fb0-4189-95b2-a440f0a432d3</node></data>

2020-10-04 22:58:48 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 22:58:49 | [Mutex] waiting for: [received:nodes:f61bda6e-8eec-4809-b7aa-fbf990201c3a:localhost]

2020-10-04 22:58:49 | [Mutex] received everything.

2020-10-04 22:58:49 | [Mutex] isItemNotified: received:node:f61bda6e-8eec-4809-b7aa-fbf990201c3a:localhost:node-0f1f663d-0fb0-4189-95b2-a440f0a432d3:Node 0f1f663d-0fb0-4189-95b2-a440f0a432d3 :: false

deleteSubnodes 1.108s
2020-10-04 22:58:47 |

2020-10-04 22:58:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:47 | ------------------------------------

2020-10-04 22:58:47 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node></data>

2020-10-04 22:58:47 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2020-10-04 22:58:48 | [Mutex] waiting for: [received:nodes:1a2694a8-1703-458b-af9c-8f1bcf382997:localhost]

2020-10-04 22:58:48 | [Mutex] received everything.

2020-10-04 22:58:48 | [Mutex] isItemNotified: received:node:1a2694a8-1703-458b-af9c-8f1bcf382997:localhost:node-856fcac1-5717-4246-a16d-0e2ff5a55607:Node 856fcac1-5717-4246-a16d-0e2ff5a55607 :: false

2020-10-04 22:58:48 | [Mutex] waiting for: [received:nodes:9aae0e34-504c-4811-b5e7-6d3cefd61a0f:localhost]

2020-10-04 22:58:48 | [Mutex] received everything.

2020-10-04 22:58:48 | [Mutex] isItemNotified: received:node:9aae0e34-504c-4811-b5e7-6d3cefd61a0f:localhost:node-856fcac1-5717-4246-a16d-0e2ff5a55607:Node 856fcac1-5717-4246-a16d-0e2ff5a55607 :: false

publishItemsToNodes 0.195s
2020-10-04 22:58:44 |

2020-10-04 22:58:44 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:44 | ------------------------------------

2020-10-04 22:58:44 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node><item-id>item-031a0236-9e37-4657-b87e-52f3cda044cb</item-id><entry><test>item-031a0236-9e37-4657-b87e-52f3cda044cb</test></entry></data>

2020-10-04 22:58:45 | 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-031a0236-9e37-4657-b87e-52f3cda044cb</value></item-id></result>

2020-10-04 22:58:45 | [Mutex] received everything.

2020-10-04 22:58:45 | [Mutex] isItemNotified: published:item:notifieditem-031a0236-9e37-4657-b87e-52f3cda044cb:admin@test-domain.com :: true

retractItemsFromNodes 0.212s
2020-10-04 22:58:45 |

2020-10-04 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:45 | ------------------------------------

2020-10-04 22:58:45 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node><item-id>item-031a0236-9e37-4657-b87e-52f3cda044cb</item-id></data>

2020-10-04 22:58:45 | 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-031a0236-9e37-4657-b87e-52f3cda044cb</value></item-id></result>

2020-10-04 22:58:45 | [Mutex] received everything.

2020-10-04 22:58:45 | [Mutex] isItemNotified: retracted:item:notifieditem-031a0236-9e37-4657-b87e-52f3cda044cb:admin@test-domain.com :: true

retrieveItemsFromNodes 0.288s
2020-10-04 22:58:45 |

2020-10-04 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:45 | ------------------------------------

2020-10-04 22:58:45 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node><item-id>item-031a0236-9e37-4657-b87e-52f3cda044cb</item-id></data>

2020-10-04 22:58:45 | 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-856fcac1-5717-4246-a16d-0e2ff5a55607</value></node><item-id label="Item ID" type="text-single"><value>item-031a0236-9e37-4657-b87e-52f3cda044cb</value></item-id><item label="Item" type="text-multi"><value><item id="item-031a0236-9e37-4657-b87e-52f3cda044cb"><test>item-031a0236-9e37-4657-b87e-52f3cda044cb</test></item></value></item></result>

2020-10-04 22:58:45 | [Mutex] notify: [retrieved:item:item-031a0236-9e37-4657-b87e-52f3cda044cb:payload-matches:true:localhost]

2020-10-04 22:58:45 | [Mutex] received everything.

2020-10-04 22:58:45 | [Mutex] isItemNotified: retrieved:item:item-031a0236-9e37-4657-b87e-52f3cda044cb:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2020-10-04 22:58:45 |

2020-10-04 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:45 | ------------------------------------

2020-10-04 22:58:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2020-10-04 22:58:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-0f1f663d-0fb0-4189-95b2-a440f0a432d3</value><value>node-856fcac1-5717-4246-a16d-0e2ff5a55607</value><value>test</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.055s
2020-10-04 22:58:45 |

2020-10-04 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:45 | ------------------------------------

2020-10-04 22:58:45 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-856fcac1-5717-4246-a16d-0e2ff5a55607)</node-pattern></data>

2020-10-04 22:58:45 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.096s
2020-10-04 22:58:43 |

2020-10-04 22:58:43 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:43 | ------------------------------------

2020-10-04 22:58:43 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-04 22:58:43 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.232s
2020-10-04 22:58:45 |

2020-10-04 22:58:45 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2020-10-04 22:58:45 | ------------------------------------

2020-10-04 22:58:45 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-856fcac1-5717-4246-a16d-0e2ff5a55607</node><jids><value>admin@test-domain.com</value></jids></data>

2020-10-04 22:58:46 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>