Generated by TestNG with ReportNG at 03:48 PST on Friday 05 March 2021
root@43fec6d4badf / Java 11.0.8 (Ubuntu) / Linux 4.14.186-146.268.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 45.409s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.651s
2021-03-05 04:02:51 |

2021-03-05 04:02:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-05 04:02:51 | ------------------------------------

2021-03-05 04:02:51 | [Mutex] isItemNotified: node_ol71l10203:exists :: false

2021-03-05 04:02:51 | [Mutex] waiting for: [node_ol71l10203:create_node]

2021-03-05 04:02:51 | [Mutex] received everything.

2021-03-05 04:02:51 | [Mutex] isItemNotified: node_ol71l10203:create_node:success :: true

2021-03-05 04:02:51 | [Mutex] waiting for: [node_ol71l10203:subscribe_node]

2021-03-05 04:02:51 | [Mutex] waiting for: [node_ol71l10203:subscribe_node]

2021-03-05 04:02:51 | [Mutex] received everything.

2021-03-05 04:02:51 | [Mutex] isItemNotified: node_ol71l10203:subscribe_node:success :: true

2021-03-05 04:02:51 |


===== publishing normal message (to online)


2021-03-05 04:02:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:02:51 | command: <data><node>node_ol71l10203</node><entry><content>content_8596g20204</content></entry></data>

2021-03-05 04:02:51 | target: http://localhost:8088

2021-03-05 04:02:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-05 04:02:51 | entity: <data><node>node_ol71l10203</node><entry><content>content_8596g20204</content></entry></data>

2021-03-05 04:02:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:02:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:02:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>683d492b-e6be-45a6-baa1-f6c4aa1c1d65</value></item-id></result>

2021-03-05 04:02:51 | contains: true

2021-03-05 04:02:51 | [Mutex] received everything.

2021-03-05 04:02:51 | [Mutex] isItemNotified: user_regularbi7bwa0202@test-domain.com:message:received:content_8596g20204 :: true

2021-03-05 04:02:51 |


===== publishing already old message - expecting message being filtered out (to online)


2021-03-05 04:02:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:02:51 | command: <data><node>node_ol71l10203</node><expire-at>2021-03-05T12:02:46Z</expire-at><entry><content>content_ayc8ch0205</content></entry></data>

2021-03-05 04:02:51 | target: http://localhost:8088

2021-03-05 04:02:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-05 04:02:51 | entity: <data><node>node_ol71l10203</node><expire-at>2021-03-05T12:02:46Z</expire-at><entry><content>content_ayc8ch0205</content></entry></data>

2021-03-05 04:02:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:02:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:02:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>4f5733cd-8da1-4b12-85c1-d279b170a098</value></item-id></result>

2021-03-05 04:02:51 | contains: true

2021-03-05 04:02:52 | [Mutex] waiting for: [user_regularbi7bwa0202@test-domain.com:message:received:content_ayc8ch0205]

2021-03-05 04:03:07 | [Mutex] timeout. Not received [user_regularbi7bwa0202@test-domain.com:message:received:content_ayc8ch0205]

2021-03-05 04:03:07 | [Mutex] isItemNotified: user_regularbi7bwa0202@test-domain.com:message:received:content_ayc8ch0205 :: false

2021-03-05 04:03:07 |


===== publishing normal message (to offline)


2021-03-05 04:03:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:03:07 | command: <data><node>node_ol71l10203</node><entry><content>content_2b8k4k0206</content></entry></data>

2021-03-05 04:03:07 | target: http://localhost:8088

2021-03-05 04:03:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-05 04:03:07 | entity: <data><node>node_ol71l10203</node><entry><content>content_2b8k4k0206</content></entry></data>

2021-03-05 04:03:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:03:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:03:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5d93821e-9fa0-4784-ad92-f106923aa96c</value></item-id></result>

2021-03-05 04:03:07 | contains: true

2021-03-05 04:03:12 | [Mutex] waiting for: [user_regularbi7bwa0202@test-domain.com:message:received:content_2b8k4k0206]

2021-03-05 04:03:12 | [Mutex] received everything.

2021-03-05 04:03:12 | [Mutex] isItemNotified: user_regularbi7bwa0202@test-domain.com:message:received:content_2b8k4k0206 :: true

2021-03-05 04:03:12 |


===== publishing already old message - expecting message being filtered out (to offline)


2021-03-05 04:03:12 | [Mutex] received everything.

2021-03-05 04:03:12 | [Mutex] isItemNotified: node_ol71l10203:subscribe_node:success :: true

2021-03-05 04:03:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-05 04:03:12 | command: <data><node>node_ol71l10203</node><expire-at>2021-03-05T12:03:17Z</expire-at><entry><content>content_nb75xc0207</content></entry></data>

2021-03-05 04:03:12 | target: http://localhost:8088

2021-03-05 04:03:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-05 04:03:12 | entity: <data><node>node_ol71l10203</node><expire-at>2021-03-05T12:03:17Z</expire-at><entry><content>content_nb75xc0207</content></entry></data>

2021-03-05 04:03:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 05 Mar 2021 12:03:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-05 04:03:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>420ba69a-01eb-4b70-a228-1f5d3753a6fb</value></item-id></result>

2021-03-05 04:03:12 | contains: true

2021-03-05 04:03:20 | [Mutex] waiting for: [user_regularbi7bwa0202@test-domain.com:message:received:content_nb75xc0207]

2021-03-05 04:03:35 | [Mutex] timeout. Not received [user_regularbi7bwa0202@test-domain.com:message:received:content_nb75xc0207]

2021-03-05 04:03:35 | [Mutex] received everything.

2021-03-05 04:03:35 | [Mutex] isItemNotified: user_regularbi7bwa0202@test-domain.com:message:received:content_nb75xc0207 :: false

2021-03-05 04:03:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_nb75xc0207 :: true