Generated by TestNG with ReportNG at 22:36 PDT on Thursday 19 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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.487s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.103s
2022-05-19 22:50:28 |

2022-05-19 22:50:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:28 | ------------------------------------

2022-05-19 22:50:28 | [Mutex] waiting for: [configured:node:node-c874be35-7991-4f52-87ab-1109d608a039:node-2701b469-2e51-4faa-8a3f-f07020090c44]

2022-05-19 22:50:28 | [Mutex] received everything.

2022-05-19 22:50:28 | [Mutex] isItemNotified: configured:node:node-c874be35-7991-4f52-87ab-1109d608a039:node-2701b469-2e51-4faa-8a3f-f07020090c44 :: true

2022-05-19 22:50:29 | [Mutex] waiting for: [received:nodes:5d2341a7-56a0-436e-a7ab-0b4b5ac37ce1:localhost]

2022-05-19 22:50:29 | [Mutex] received everything.

2022-05-19 22:50:29 | [Mutex] isItemNotified: received:node:5d2341a7-56a0-436e-a7ab-0b4b5ac37ce1:localhost:node-c874be35-7991-4f52-87ab-1109d608a039:Node c874be35-7991-4f52-87ab-1109d608a039 :: true

2022-05-19 22:50:29 | [Mutex] waiting for: [received:nodes:25364198-a9b0-497b-96c1-a0f41ccd4cd7:localhost]

2022-05-19 22:50:29 | [Mutex] waiting for: [received:nodes:25364198-a9b0-497b-96c1-a0f41ccd4cd7:localhost]

2022-05-19 22:50:29 | [Mutex] waiting for: [received:nodes:25364198-a9b0-497b-96c1-a0f41ccd4cd7:localhost]

2022-05-19 22:50:29 | [Mutex] waiting for: [received:nodes:25364198-a9b0-497b-96c1-a0f41ccd4cd7:localhost]

2022-05-19 22:50:29 | [Mutex] received everything.

2022-05-19 22:50:29 | [Mutex] isItemNotified: received:node:25364198-a9b0-497b-96c1-a0f41ccd4cd7:localhost:node-c874be35-7991-4f52-87ab-1109d608a039:Node c874be35-7991-4f52-87ab-1109d608a039 :: false

createNodes 1.441s
2022-05-19 22:50:25 |

2022-05-19 22:50:25 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:25 | ------------------------------------

2022-05-19 22:50:25 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node c874be35-7991-4f52-87ab-1109d608a039</title></pubsub></data>

2022-05-19 22:50:26 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-19 22:50:27 | [Mutex] waiting for: [received:nodes:f0475429-e392-4092-b6f0-c3d62afad267:localhost]

2022-05-19 22:50:27 | [Mutex] waiting for: [received:nodes:f0475429-e392-4092-b6f0-c3d62afad267:localhost]

2022-05-19 22:50:27 | [Mutex] waiting for: [received:nodes:f0475429-e392-4092-b6f0-c3d62afad267:localhost]

2022-05-19 22:50:27 | [Mutex] received everything.

2022-05-19 22:50:27 | [Mutex] isItemNotified: received:node:f0475429-e392-4092-b6f0-c3d62afad267:localhost:node-c874be35-7991-4f52-87ab-1109d608a039:Node c874be35-7991-4f52-87ab-1109d608a039 :: true

createSubnodes 1.031s
2022-05-19 22:50:27 |

2022-05-19 22:50:27 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:27 | ------------------------------------

2022-05-19 22:50:27 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-2701b469-2e51-4faa-8a3f-f07020090c44</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 2701b469-2e51-4faa-8a3f-f07020090c44</title></pubsub></data>

2022-05-19 22:50:27 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-19 22:50:28 | [Mutex] waiting for: [received:nodes:fedbff02-d4a5-45ba-8dd5-981cff2317d9:localhost]

2022-05-19 22:50:28 | [Mutex] received everything.

2022-05-19 22:50:28 | [Mutex] isItemNotified: received:node:fedbff02-d4a5-45ba-8dd5-981cff2317d9:localhost:node-2701b469-2e51-4faa-8a3f-f07020090c44:Node 2701b469-2e51-4faa-8a3f-f07020090c44 :: true

deleteNodes 1.016s
2022-05-19 22:50:33 |

2022-05-19 22:50:33 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:33 | ------------------------------------

2022-05-19 22:50:33 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-2701b469-2e51-4faa-8a3f-f07020090c44</node></data>

2022-05-19 22:50:33 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-19 22:50:34 | [Mutex] waiting for: [received:nodes:1ada0cec-7171-417a-8aca-f7e3dc0da49d:localhost]

2022-05-19 22:50:34 | [Mutex] waiting for: [received:nodes:1ada0cec-7171-417a-8aca-f7e3dc0da49d:localhost]

2022-05-19 22:50:34 | [Mutex] received everything.

2022-05-19 22:50:34 | [Mutex] isItemNotified: received:node:1ada0cec-7171-417a-8aca-f7e3dc0da49d:localhost:node-2701b469-2e51-4faa-8a3f-f07020090c44:Node 2701b469-2e51-4faa-8a3f-f07020090c44 :: false

deleteSubnodes 1.131s
2022-05-19 22:50:32 |

2022-05-19 22:50:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:32 | ------------------------------------

2022-05-19 22:50:32 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node></data>

2022-05-19 22:50:32 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-05-19 22:50:33 | [Mutex] waiting for: [received:nodes:52a3abd9-4162-414d-98ad-f8d231809609:localhost]

2022-05-19 22:50:33 | [Mutex] waiting for: [received:nodes:52a3abd9-4162-414d-98ad-f8d231809609:localhost]

2022-05-19 22:50:33 | [Mutex] received everything.

2022-05-19 22:50:33 | [Mutex] isItemNotified: received:node:52a3abd9-4162-414d-98ad-f8d231809609:localhost:node-c874be35-7991-4f52-87ab-1109d608a039:Node c874be35-7991-4f52-87ab-1109d608a039 :: false

2022-05-19 22:50:33 | [Mutex] waiting for: [received:nodes:1db3c539-bd3b-4215-9738-618b30d968af:localhost]

2022-05-19 22:50:33 | [Mutex] received everything.

2022-05-19 22:50:33 | [Mutex] isItemNotified: received:node:1db3c539-bd3b-4215-9738-618b30d968af:localhost:node-c874be35-7991-4f52-87ab-1109d608a039:Node c874be35-7991-4f52-87ab-1109d608a039 :: false

publishItemsToNodes 0.220s
2022-05-19 22:50:30 |

2022-05-19 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:30 | ------------------------------------

2022-05-19 22:50:30 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node><item-id>item-73189e26-574f-4c6e-978d-e3bcd2f60474</item-id><entry><test>item-73189e26-574f-4c6e-978d-e3bcd2f60474</test></entry></data>

2022-05-19 22:50: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-73189e26-574f-4c6e-978d-e3bcd2f60474</value></item-id></result>

2022-05-19 22:50:30 | [Mutex] received everything.

2022-05-19 22:50:30 | [Mutex] isItemNotified: published:item:notifieditem-73189e26-574f-4c6e-978d-e3bcd2f60474:admin@test-domain.com :: true

retractItemsFromNodes 0.308s
2022-05-19 22:50:30 |

2022-05-19 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:30 | ------------------------------------

2022-05-19 22:50:30 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node><item-id>item-73189e26-574f-4c6e-978d-e3bcd2f60474</item-id></data>

2022-05-19 22:50: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-73189e26-574f-4c6e-978d-e3bcd2f60474</value></item-id></result>

2022-05-19 22:50:31 | [Mutex] received everything.

2022-05-19 22:50:31 | [Mutex] isItemNotified: retracted:item:notifieditem-73189e26-574f-4c6e-978d-e3bcd2f60474:admin@test-domain.com :: true

retrieveItemsFromNodes 0.237s
2022-05-19 22:50:30 |

2022-05-19 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:30 | ------------------------------------

2022-05-19 22:50:30 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node><item-id>item-73189e26-574f-4c6e-978d-e3bcd2f60474</item-id></data>

2022-05-19 22:50: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-c874be35-7991-4f52-87ab-1109d608a039</value></node><item-id label="Item ID" type="text-single"><value>item-73189e26-574f-4c6e-978d-e3bcd2f60474</value></item-id><item label="Item" type="text-multi"><value><item id="item-73189e26-574f-4c6e-978d-e3bcd2f60474"><test>item-73189e26-574f-4c6e-978d-e3bcd2f60474</test></item></value></item></result>

2022-05-19 22:50:30 | [Mutex] notify: [retrieved:item:item-73189e26-574f-4c6e-978d-e3bcd2f60474:payload-matches:true:localhost]

2022-05-19 22:50:30 | [Mutex] received everything.

2022-05-19 22:50:30 | [Mutex] isItemNotified: retrieved:item:item-73189e26-574f-4c6e-978d-e3bcd2f60474:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.048s
2022-05-19 22:50:30 |

2022-05-19 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:30 | ------------------------------------

2022-05-19 22:50:30 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-05-19 22:50:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"><value>node-c874be35-7991-4f52-87ab-1109d608a039</value><value>test</value><value>node-2701b469-2e51-4faa-8a3f-f07020090c44</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.054s
2022-05-19 22:50:30 |

2022-05-19 22:50:30 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:30 | ------------------------------------

2022-05-19 22:50: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-c874be35-7991-4f52-87ab-1109d608a039)</node-pattern></data>

2022-05-19 22:50:30 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes label="Nodes" type="text-multi"/></result>

subscribeNodes 1.109s
2022-05-19 22:50:29 |

2022-05-19 22:50:29 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:29 | ------------------------------------

2022-05-19 22:50:29 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-19 22:50: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.170s
2022-05-19 22:50:31 |

2022-05-19 22:50:31 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-05-19 22:50:31 | ------------------------------------

2022-05-19 22:50:31 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-c874be35-7991-4f52-87ab-1109d608a039</node><jids><value>admin@test-domain.com</value></jids></data>

2022-05-19 22:50:31 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>