Generated by TestNG with ReportNG at 22:47 PDT on Sunday 24 July 2022
root@f9c07ffec79b / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

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

Suites · Log Output

Test duration : 9.372s

Passed Tests
tigase.tests.pubsub.TestRestApiUsingXML
configureNodes 1.097s
2022-07-24 23:02:13 |

2022-07-24 23:02:13 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:13 | ------------------------------------

2022-07-24 23:02:13 | [Mutex] waiting for: [configured:node:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6]

2022-07-24 23:02:13 | [Mutex] received everything.

2022-07-24 23:02:13 | [Mutex] isItemNotified: configured:node:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6 :: true

2022-07-24 23:02:14 | [Mutex] waiting for: [received:nodes:f5e1ce92-25b1-4117-8fd7-0c9923675078:localhost]

2022-07-24 23:02:14 | [Mutex] received everything.

2022-07-24 23:02:14 | [Mutex] isItemNotified: received:node:f5e1ce92-25b1-4117-8fd7-0c9923675078:localhost:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:Node 38fb5fd1-7bfe-4ab0-be13-7040e3c80e71 :: true

2022-07-24 23:02:14 | [Mutex] waiting for: [received:nodes:fe029f97-4e9e-4467-b977-18b203132a81:localhost]

2022-07-24 23:02:14 | [Mutex] waiting for: [received:nodes:fe029f97-4e9e-4467-b977-18b203132a81:localhost]

2022-07-24 23:02:14 | [Mutex] received everything.

2022-07-24 23:02:14 | [Mutex] isItemNotified: received:node:fe029f97-4e9e-4467-b977-18b203132a81:localhost:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:Node 38fb5fd1-7bfe-4ab0-be13-7040e3c80e71 :: false

createNodes 1.423s
2022-07-24 23:02:11 |

2022-07-24 23:02:11 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:11 | ------------------------------------

2022-07-24 23:02:11 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>leaf</node_type><title>Node 38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</title></pubsub></data>

2022-07-24 23:02:11 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 23:02:12 | [Mutex] waiting for: [received:nodes:5c8aa1cc-00a2-42c4-a497-7e7270ba491b:localhost]

2022-07-24 23:02:12 | [Mutex] received everything.

2022-07-24 23:02:12 | [Mutex] isItemNotified: received:node:5c8aa1cc-00a2-42c4-a497-7e7270ba491b:localhost:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:Node 38fb5fd1-7bfe-4ab0-be13-7040e3c80e71 :: true

createSubnodes 1.025s
2022-07-24 23:02:12 |

2022-07-24 23:02:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:12 | ------------------------------------

2022-07-24 23:02:12 | on localhost executing action create-node with content type application/xml and payload:
<data><node>node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6</node><owner>admin@test-domain.com</owner><pubsub prefix="true"><node_type>collection</node_type><title>Node 3f00473d-543d-4db5-8a5a-9a6e845b5ab6</title></pubsub></data>

2022-07-24 23:02:12 | from localhost for action create-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 23:02:13 | [Mutex] waiting for: [received:nodes:78614dc4-b4a9-42c4-872a-fc9314ef53cd:localhost]

2022-07-24 23:02:13 | [Mutex] waiting for: [received:nodes:78614dc4-b4a9-42c4-872a-fc9314ef53cd:localhost]

2022-07-24 23:02:13 | [Mutex] waiting for: [received:nodes:78614dc4-b4a9-42c4-872a-fc9314ef53cd:localhost]

2022-07-24 23:02:13 | [Mutex] received everything.

2022-07-24 23:02:13 | [Mutex] isItemNotified: received:node:78614dc4-b4a9-42c4-872a-fc9314ef53cd:localhost:node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6:Node 3f00473d-543d-4db5-8a5a-9a6e845b5ab6 :: true

deleteNodes 1.019s
2022-07-24 23:02:19 |

2022-07-24 23:02:19 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:19 | ------------------------------------

2022-07-24 23:02:19 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6</node></data>

2022-07-24 23:02:19 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 23:02:20 | [Mutex] waiting for: [received:nodes:624d142c-c018-482d-9598-e424d4365491:localhost]

2022-07-24 23:02:20 | [Mutex] received everything.

2022-07-24 23:02:20 | [Mutex] isItemNotified: received:node:624d142c-c018-482d-9598-e424d4365491:localhost:node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6:Node 3f00473d-543d-4db5-8a5a-9a6e845b5ab6 :: false

deleteSubnodes 1.132s
2022-07-24 23:02:17 |

2022-07-24 23:02:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:17 | ------------------------------------

2022-07-24 23:02:17 | on localhost executing action delete-node with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node></data>

2022-07-24 23:02:18 | from localhost for action delete-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

2022-07-24 23:02:19 | [Mutex] waiting for: [received:nodes:0cda171f-d885-43e6-a505-35965d7eeb1c:localhost]

2022-07-24 23:02:19 | [Mutex] waiting for: [received:nodes:0cda171f-d885-43e6-a505-35965d7eeb1c:localhost]

2022-07-24 23:02:19 | [Mutex] waiting for: [received:nodes:0cda171f-d885-43e6-a505-35965d7eeb1c:localhost]

2022-07-24 23:02:19 | [Mutex] received everything.

2022-07-24 23:02:19 | [Mutex] isItemNotified: received:node:0cda171f-d885-43e6-a505-35965d7eeb1c:localhost:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:Node 38fb5fd1-7bfe-4ab0-be13-7040e3c80e71 :: false

2022-07-24 23:02:19 | [Mutex] waiting for: [received:nodes:4ca7b1ef-fe0b-49c5-88ad-8955eefc95a4:localhost]

2022-07-24 23:02:19 | [Mutex] received everything.

2022-07-24 23:02:19 | [Mutex] isItemNotified: received:node:4ca7b1ef-fe0b-49c5-88ad-8955eefc95a4:localhost:node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71:Node 38fb5fd1-7bfe-4ab0-be13-7040e3c80e71 :: false

publishItemsToNodes 0.247s
2022-07-24 23:02:16 |

2022-07-24 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:16 | ------------------------------------

2022-07-24 23:02:16 | on localhost executing action publish-item with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node><item-id>item-9bb1fe55-b33d-4528-a744-33960c90537a</item-id><entry><test>item-9bb1fe55-b33d-4528-a744-33960c90537a</test></entry></data>

2022-07-24 23:02:16 | 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-9bb1fe55-b33d-4528-a744-33960c90537a</value></item-id></result>

2022-07-24 23:02:16 | [Mutex] received everything.

2022-07-24 23:02:16 | [Mutex] isItemNotified: published:item:notifieditem-9bb1fe55-b33d-4528-a744-33960c90537a:admin@test-domain.com :: true

retractItemsFromNodes 0.176s
2022-07-24 23:02:16 |

2022-07-24 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:16 | ------------------------------------

2022-07-24 23:02:16 | on localhost executing action delete-item with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node><item-id>item-9bb1fe55-b33d-4528-a744-33960c90537a</item-id></data>

2022-07-24 23:02:16 | 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-9bb1fe55-b33d-4528-a744-33960c90537a</value></item-id></result>

2022-07-24 23:02:16 | [Mutex] received everything.

2022-07-24 23:02:16 | [Mutex] isItemNotified: retracted:item:notifieditem-9bb1fe55-b33d-4528-a744-33960c90537a:admin@test-domain.com :: true

retrieveItemsFromNodes 0.197s
2022-07-24 23:02:16 |

2022-07-24 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:16 | ------------------------------------

2022-07-24 23:02:16 | on localhost executing action retrieve-item with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node><item-id>item-9bb1fe55-b33d-4528-a744-33960c90537a</item-id></data>

2022-07-24 23:02:16 | 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-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</value></node><item-id type="text-single" label="Item ID"><value>item-9bb1fe55-b33d-4528-a744-33960c90537a</value></item-id><item type="text-multi" label="Item"><value><item id="item-9bb1fe55-b33d-4528-a744-33960c90537a"><test>item-9bb1fe55-b33d-4528-a744-33960c90537a</test></item></value></item></result>

2022-07-24 23:02:16 | [Mutex] notify: [retrieved:item:item-9bb1fe55-b33d-4528-a744-33960c90537a:payload-matches:true:localhost]

2022-07-24 23:02:16 | [Mutex] received everything.

2022-07-24 23:02:16 | [Mutex] isItemNotified: retrieved:item:item-9bb1fe55-b33d-4528-a744-33960c90537a:payload-matches:true:localhost :: true

retrieveUserSubscriptions 0.052s
2022-07-24 23:02:16 |

2022-07-24 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:16 | ------------------------------------

2022-07-24 23:02:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid></data>

2022-07-24 23:02:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"><value>test</value><value>node-3f00473d-543d-4db5-8a5a-9a6e845b5ab6</value><value>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</value></nodes></result>

retrieveUserSubscriptionsWithRegex 0.052s
2022-07-24 23:02:16 |

2022-07-24 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:16 | ------------------------------------

2022-07-24 23:02:16 | on localhost executing action retrieve-user-subscriptions with content type application/xml and payload:
<data><jid>admin@test-domain.com</jid><node-pattern>(?!node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71)</node-pattern></data>

2022-07-24 23:02:16 | from localhost for action retrieve-user-subscriptions got result code 200 and payload
<result><nodes type="text-multi" label="Nodes"/></result>

subscribeNodes 1.104s
2022-07-24 23:02:14 |

2022-07-24 23:02:14 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:14 | ------------------------------------

2022-07-24 23:02:14 | on localhost executing action subscribe-node with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-24 23:02:15 | from localhost for action subscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>

unsubscribeNodes 1.235s
2022-07-24 23:02:16 |

2022-07-24 23:02:16 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiUsingXML]

2022-07-24 23:02:16 | ------------------------------------

2022-07-24 23:02:16 | on localhost executing action unsubscribe-node with content type application/xml and payload:
<data><node>node-38fb5fd1-7bfe-4ab0-be13-7040e3c80e71</node><jids><value>admin@test-domain.com</value></jids></data>

2022-07-24 23:02:16 | from localhost for action unsubscribe-node got result code 200 and payload
<result><Note type="fixed"><value>Operation successful</value></Note></result>