Generated by TestNG with ReportNG at 22:13 PDT on Wednesday 21 April 2021
root@b2c2a8eba6e6 / 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.316s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.647s
2021-04-21 22:30:32 |

2021-04-21 22:30:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-04-21 22:30:32 | ------------------------------------

2021-04-21 22:30:32 | [Mutex] isItemNotified: node_hy6azj0203:exists :: false

2021-04-21 22:30:32 | [Mutex] waiting for: [node_hy6azj0203:create_node]

2021-04-21 22:30:32 | [Mutex] received everything.

2021-04-21 22:30:32 | [Mutex] isItemNotified: node_hy6azj0203:create_node:success :: true

2021-04-21 22:30:32 | [Mutex] waiting for: [node_hy6azj0203:subscribe_node]

2021-04-21 22:30:32 | [Mutex] waiting for: [node_hy6azj0203:subscribe_node]

2021-04-21 22:30:32 | [Mutex] received everything.

2021-04-21 22:30:32 | [Mutex] isItemNotified: node_hy6azj0203:subscribe_node:success :: true

2021-04-21 22:30:32 |


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


2021-04-21 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:30:32 | command: <data><node>node_hy6azj0203</node><entry><content>content_anrxy00204</content></entry></data>

2021-04-21 22:30:32 | target: http://localhost:8088

2021-04-21 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-21 22:30:32 | entity: <data><node>node_hy6azj0203</node><entry><content>content_anrxy00204</content></entry></data>

2021-04-21 22:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5c46608c-f489-4937-bf03-0d1355f07af4</value></item-id></result>

2021-04-21 22:30:32 | contains: true

2021-04-21 22:30:32 | [Mutex] received everything.

2021-04-21 22:30:32 | [Mutex] isItemNotified: user_regularv9piwj0202@test-domain.com:message:received:content_anrxy00204 :: true

2021-04-21 22:30:32 |


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


2021-04-21 22:30:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:30:32 | command: <data><node>node_hy6azj0203</node><expire-at>2021-04-22T05:30:27Z</expire-at><entry><content>content_e6m2pc0205</content></entry></data>

2021-04-21 22:30:32 | target: http://localhost:8088

2021-04-21 22:30:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-21 22:30:32 | entity: <data><node>node_hy6azj0203</node><expire-at>2021-04-22T05:30:27Z</expire-at><entry><content>content_e6m2pc0205</content></entry></data>

2021-04-21 22:30:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:30:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:30:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>3bdda06b-0503-44d9-9012-fa9503da2919</value></item-id></result>

2021-04-21 22:30:32 | contains: true

2021-04-21 22:30:32 | [Mutex] waiting for: [user_regularv9piwj0202@test-domain.com:message:received:content_e6m2pc0205]

2021-04-21 22:30:47 | [Mutex] timeout. Not received [user_regularv9piwj0202@test-domain.com:message:received:content_e6m2pc0205]

2021-04-21 22:30:47 | [Mutex] isItemNotified: user_regularv9piwj0202@test-domain.com:message:received:content_e6m2pc0205 :: false

2021-04-21 22:30:47 |


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


2021-04-21 22:30:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:30:47 | command: <data><node>node_hy6azj0203</node><entry><content>content_21nud60206</content></entry></data>

2021-04-21 22:30:47 | target: http://localhost:8088

2021-04-21 22:30:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-04-21 22:30:47 | entity: <data><node>node_hy6azj0203</node><entry><content>content_21nud60206</content></entry></data>

2021-04-21 22:30:48 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:30:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:30:48 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8b5ab67e-614c-4341-a997-649839a16959</value></item-id></result>

2021-04-21 22:30:48 | contains: true

2021-04-21 22:30:53 | [Mutex] waiting for: [user_regularv9piwj0202@test-domain.com:message:received:content_21nud60206]

2021-04-21 22:30:53 | [Mutex] received everything.

2021-04-21 22:30:53 | [Mutex] isItemNotified: user_regularv9piwj0202@test-domain.com:message:received:content_21nud60206 :: true

2021-04-21 22:30:53 |


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


2021-04-21 22:30:53 | [Mutex] received everything.

2021-04-21 22:30:53 | [Mutex] isItemNotified: node_hy6azj0203:subscribe_node:success :: true

2021-04-21 22:30:53 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-04-21 22:30:53 | command: <data><node>node_hy6azj0203</node><expire-at>2021-04-22T05:30:58Z</expire-at><entry><content>content_avdbxb0207</content></entry></data>

2021-04-21 22:30:53 | target: http://localhost:8088

2021-04-21 22:30:53 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-04-21 22:30:53 | entity: <data><node>node_hy6azj0203</node><expire-at>2021-04-22T05:30:58Z</expire-at><entry><content>content_avdbxb0207</content></entry></data>

2021-04-21 22:30:53 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 22 Apr 2021 05:30:53 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-04-21 22:30:53 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>ed6a6627-9e41-4378-acb8-f4aeb5c628c1</value></item-id></result>

2021-04-21 22:30:53 | contains: true

2021-04-21 22:31:01 | [Mutex] waiting for: [user_regularv9piwj0202@test-domain.com:message:received:content_avdbxb0207]

2021-04-21 22:31:16 | [Mutex] timeout. Not received [user_regularv9piwj0202@test-domain.com:message:received:content_avdbxb0207]

2021-04-21 22:31:16 | [Mutex] received everything.

2021-04-21 22:31:16 | [Mutex] isItemNotified: user_regularv9piwj0202@test-domain.com:message:received:content_avdbxb0207 :: false

2021-04-21 22:31:16 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_avdbxb0207 :: true