Generated by TestNG with ReportNG at 21:34 PST on Thursday 03 February 2022
root@f29ef40080b5 / 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.514s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.737s
2022-02-03 21:50:04 |

2022-02-03 21:50:04 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-03 21:50:04 | ------------------------------------

2022-02-03 21:50:04 | [Mutex] isItemNotified: node_sx9zjn0203:exists :: false

2022-02-03 21:50:04 | [Mutex] waiting for: [node_sx9zjn0203:create_node]

2022-02-03 21:50:04 | [Mutex] received everything.

2022-02-03 21:50:04 | [Mutex] isItemNotified: node_sx9zjn0203:create_node:success :: true

2022-02-03 21:50:04 | [Mutex] waiting for: [node_sx9zjn0203:subscribe_node]

2022-02-03 21:50:04 | [Mutex] waiting for: [node_sx9zjn0203:subscribe_node]

2022-02-03 21:50:04 | [Mutex] received everything.

2022-02-03 21:50:04 | [Mutex] isItemNotified: node_sx9zjn0203:subscribe_node:success :: true

2022-02-03 21:50:04 |


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


2022-02-03 21:50:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:50:04 | command: <data><node>node_sx9zjn0203</node><entry><content>content_8soslk0204</content></entry></data>

2022-02-03 21:50:04 | target: http://localhost:8088

2022-02-03 21:50:04 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 21:50:04 | entity: <data><node>node_sx9zjn0203</node><entry><content>content_8soslk0204</content></entry></data>

2022-02-03 21:50:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:50:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:50:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9ca9da86-beee-4bb1-ac6b-ba88c6914fa6</value></item-id></result>

2022-02-03 21:50:04 | contains: true

2022-02-03 21:50:04 | [Mutex] waiting for: [user_regularh07t590202@test-domain.com:message:received:content_8soslk0204]

2022-02-03 21:50:04 | [Mutex] received everything.

2022-02-03 21:50:04 | [Mutex] isItemNotified: user_regularh07t590202@test-domain.com:message:received:content_8soslk0204 :: true

2022-02-03 21:50:04 |


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


2022-02-03 21:50:04 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:50:04 | command: <data><node>node_sx9zjn0203</node><expire-at>2022-02-04T05:49:59Z</expire-at><entry><content>content_wvey270205</content></entry></data>

2022-02-03 21:50:04 | target: http://localhost:8088

2022-02-03 21:50:04 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 21:50:04 | entity: <data><node>node_sx9zjn0203</node><expire-at>2022-02-04T05:49:59Z</expire-at><entry><content>content_wvey270205</content></entry></data>

2022-02-03 21:50:04 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:50:04 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:50:04 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a8f62259-98ab-4834-8864-db5c62b1e2be</value></item-id></result>

2022-02-03 21:50:04 | contains: true

2022-02-03 21:50:04 | [Mutex] waiting for: [user_regularh07t590202@test-domain.com:message:received:content_wvey270205]

2022-02-03 21:50:19 | [Mutex] timeout. Not received [user_regularh07t590202@test-domain.com:message:received:content_wvey270205]

2022-02-03 21:50:19 | [Mutex] isItemNotified: user_regularh07t590202@test-domain.com:message:received:content_wvey270205 :: false

2022-02-03 21:50:19 |


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


2022-02-03 21:50:19 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:50:19 | command: <data><node>node_sx9zjn0203</node><entry><content>content_c0j6ov0206</content></entry></data>

2022-02-03 21:50:19 | target: http://localhost:8088

2022-02-03 21:50:19 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-03 21:50:19 | entity: <data><node>node_sx9zjn0203</node><entry><content>content_c0j6ov0206</content></entry></data>

2022-02-03 21:50:19 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:50:19 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:50:19 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>24fe8cf1-d898-4187-87fc-e57c195be615</value></item-id></result>

2022-02-03 21:50:19 | contains: true

2022-02-03 21:50:24 | [Mutex] waiting for: [user_regularh07t590202@test-domain.com:message:received:content_c0j6ov0206]

2022-02-03 21:50:24 | [Mutex] received everything.

2022-02-03 21:50:24 | [Mutex] isItemNotified: user_regularh07t590202@test-domain.com:message:received:content_c0j6ov0206 :: true

2022-02-03 21:50:24 |


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


2022-02-03 21:50:24 | [Mutex] received everything.

2022-02-03 21:50:24 | [Mutex] isItemNotified: node_sx9zjn0203:subscribe_node:success :: true

2022-02-03 21:50:24 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-03 21:50:24 | command: <data><node>node_sx9zjn0203</node><expire-at>2022-02-04T05:50:29Z</expire-at><entry><content>content_2jkix50207</content></entry></data>

2022-02-03 21:50:24 | target: http://localhost:8088

2022-02-03 21:50:24 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-03 21:50:24 | entity: <data><node>node_sx9zjn0203</node><expire-at>2022-02-04T05:50:29Z</expire-at><entry><content>content_2jkix50207</content></entry></data>

2022-02-03 21:50:24 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 04 Feb 2022 05:50:24 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-03 21:50:24 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>eddde178-ebcb-422a-bb36-574b7b78ba07</value></item-id></result>

2022-02-03 21:50:24 | contains: true

2022-02-03 21:50:33 | [Mutex] waiting for: [user_regularh07t590202@test-domain.com:message:received:content_2jkix50207]

2022-02-03 21:50:33 | [Mutex] waiting for: [user_regularh07t590202@test-domain.com:message:received:content_2jkix50207]

2022-02-03 21:50:48 | [Mutex] timeout. Not received [user_regularh07t590202@test-domain.com:message:received:content_2jkix50207]

2022-02-03 21:50:48 | [Mutex] received everything.

2022-02-03 21:50:48 | [Mutex] isItemNotified: user_regularh07t590202@test-domain.com:message:received:content_2jkix50207 :: false

2022-02-03 21:50:48 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_2jkix50207 :: true