Generated by TestNG with ReportNG at 21:31 PST on Tuesday 15 February 2022
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.658s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.805s
2022-02-15 21:49:06 |

2022-02-15 21:49:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-02-15 21:49:06 | ------------------------------------

2022-02-15 21:49:06 | [Mutex] isItemNotified: node_w5xf3v0203:exists :: false

2022-02-15 21:49:06 | [Mutex] waiting for: [node_w5xf3v0203:create_node]

2022-02-15 21:49:06 | [Mutex] received everything.

2022-02-15 21:49:06 | [Mutex] isItemNotified: node_w5xf3v0203:create_node:success :: true

2022-02-15 21:49:06 | [Mutex] waiting for: [node_w5xf3v0203:subscribe_node]

2022-02-15 21:49:06 | [Mutex] received everything.

2022-02-15 21:49:06 | [Mutex] isItemNotified: node_w5xf3v0203:subscribe_node:success :: true

2022-02-15 21:49:06 |


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


2022-02-15 21:49:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-15 21:49:06 | command: <data><node>node_w5xf3v0203</node><entry><content>content_2bow2p0204</content></entry></data>

2022-02-15 21:49:06 | target: http://localhost:8088

2022-02-15 21:49:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-15 21:49:06 | entity: <data><node>node_w5xf3v0203</node><entry><content>content_2bow2p0204</content></entry></data>

2022-02-15 21:49:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:49:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-15 21:49:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f88246f8-129d-44c2-8718-c2000f496206</value></item-id></result>

2022-02-15 21:49:06 | contains: true

2022-02-15 21:49:06 | [Mutex] received everything.

2022-02-15 21:49:06 | [Mutex] isItemNotified: user_regular756wng0202@test-domain.com:message:received:content_2bow2p0204 :: true

2022-02-15 21:49:06 |


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


2022-02-15 21:49:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-15 21:49:06 | command: <data><node>node_w5xf3v0203</node><expire-at>2022-02-16T05:49:01Z</expire-at><entry><content>content_elbr7m0205</content></entry></data>

2022-02-15 21:49:06 | target: http://localhost:8088

2022-02-15 21:49:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-15 21:49:06 | entity: <data><node>node_w5xf3v0203</node><expire-at>2022-02-16T05:49:01Z</expire-at><entry><content>content_elbr7m0205</content></entry></data>

2022-02-15 21:49:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:49:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-15 21:49:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8ccdeef9-b286-4c81-9a45-10e47f2e9c09</value></item-id></result>

2022-02-15 21:49:06 | contains: true

2022-02-15 21:49:06 | [Mutex] waiting for: [user_regular756wng0202@test-domain.com:message:received:content_elbr7m0205]

2022-02-15 21:49:21 | [Mutex] timeout. Not received [user_regular756wng0202@test-domain.com:message:received:content_elbr7m0205]

2022-02-15 21:49:21 | [Mutex] isItemNotified: user_regular756wng0202@test-domain.com:message:received:content_elbr7m0205 :: false

2022-02-15 21:49:21 |


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


2022-02-15 21:49:21 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-15 21:49:21 | command: <data><node>node_w5xf3v0203</node><entry><content>content_8z5h3m0206</content></entry></data>

2022-02-15 21:49:21 | target: http://localhost:8088

2022-02-15 21:49:21 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-02-15 21:49:21 | entity: <data><node>node_w5xf3v0203</node><entry><content>content_8z5h3m0206</content></entry></data>

2022-02-15 21:49:21 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:49:21 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-15 21:49:21 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f50b8b55-6863-4564-9d4b-497cd3d68d2a</value></item-id></result>

2022-02-15 21:49:21 | contains: true

2022-02-15 21:49:27 | [Mutex] waiting for: [user_regular756wng0202@test-domain.com:message:received:content_8z5h3m0206]

2022-02-15 21:49:27 | [Mutex] received everything.

2022-02-15 21:49:27 | [Mutex] isItemNotified: user_regular756wng0202@test-domain.com:message:received:content_8z5h3m0206 :: true

2022-02-15 21:49:27 |


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


2022-02-15 21:49:27 | [Mutex] received everything.

2022-02-15 21:49:27 | [Mutex] isItemNotified: node_w5xf3v0203:subscribe_node:success :: true

2022-02-15 21:49:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-02-15 21:49:27 | command: <data><node>node_w5xf3v0203</node><expire-at>2022-02-16T05:49:32Z</expire-at><entry><content>content_l1kd1j0207</content></entry></data>

2022-02-15 21:49:27 | target: http://localhost:8088

2022-02-15 21:49:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-02-15 21:49:27 | entity: <data><node>node_w5xf3v0203</node><expire-at>2022-02-16T05:49:32Z</expire-at><entry><content>content_l1kd1j0207</content></entry></data>

2022-02-15 21:49:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Wed, 16 Feb 2022 05:49:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-02-15 21:49:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>587be350-2044-4d3b-b8f7-f16ab72d7f56</value></item-id></result>

2022-02-15 21:49:27 | contains: true

2022-02-15 21:49:35 | [Mutex] waiting for: [user_regular756wng0202@test-domain.com:message:received:content_l1kd1j0207]

2022-02-15 21:49:35 | [Mutex] waiting for: [user_regular756wng0202@test-domain.com:message:received:content_l1kd1j0207]

2022-02-15 21:49:35 | [Mutex] waiting for: [user_regular756wng0202@test-domain.com:message:received:content_l1kd1j0207]

2022-02-15 21:49:50 | [Mutex] timeout. Not received [user_regular756wng0202@test-domain.com:message:received:content_l1kd1j0207]

2022-02-15 21:49:50 | [Mutex] received everything.

2022-02-15 21:49:50 | [Mutex] isItemNotified: user_regular756wng0202@test-domain.com:message:received:content_l1kd1j0207 :: false

2022-02-15 21:49:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_l1kd1j0207 :: true