Generated by TestNG with ReportNG at 22:42 PDT on Wednesday 06 October 2021
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.473s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.776s
2021-10-06 22:58:07 |

2021-10-06 22:58:07 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-10-06 22:58:07 | ------------------------------------

2021-10-06 22:58:07 | [Mutex] isItemNotified: node_cv1lz60203:exists :: false

2021-10-06 22:58:07 | [Mutex] waiting for: [node_cv1lz60203:create_node]

2021-10-06 22:58:07 | [Mutex] received everything.

2021-10-06 22:58:07 | [Mutex] isItemNotified: node_cv1lz60203:create_node:success :: true

2021-10-06 22:58:07 | [Mutex] waiting for: [node_cv1lz60203:subscribe_node]

2021-10-06 22:58:07 | [Mutex] waiting for: [node_cv1lz60203:subscribe_node]

2021-10-06 22:58:07 | [Mutex] received everything.

2021-10-06 22:58:07 | [Mutex] isItemNotified: node_cv1lz60203:subscribe_node:success :: true

2021-10-06 22:58:07 |


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


2021-10-06 22:58:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:58:07 | command: <data><node>node_cv1lz60203</node><entry><content>content_2admrw0204</content></entry></data>

2021-10-06 22:58:07 | target: http://localhost:8088

2021-10-06 22:58:07 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-06 22:58:07 | entity: <data><node>node_cv1lz60203</node><entry><content>content_2admrw0204</content></entry></data>

2021-10-06 22:58:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:58:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:58:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ec4ae6e2-52b4-42f2-b12c-1202d7cd055b</value></item-id></result>

2021-10-06 22:58:07 | contains: true

2021-10-06 22:58:07 | [Mutex] waiting for: [user_regularwy36600202@test-domain.com:message:received:content_2admrw0204]

2021-10-06 22:58:07 | [Mutex] received everything.

2021-10-06 22:58:07 | [Mutex] isItemNotified: user_regularwy36600202@test-domain.com:message:received:content_2admrw0204 :: true

2021-10-06 22:58:07 |


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


2021-10-06 22:58:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:58:07 | command: <data><node>node_cv1lz60203</node><expire-at>2021-10-07T05:58:02Z</expire-at><entry><content>content_trrz520205</content></entry></data>

2021-10-06 22:58:07 | target: http://localhost:8088

2021-10-06 22:58:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-06 22:58:07 | entity: <data><node>node_cv1lz60203</node><expire-at>2021-10-07T05:58:02Z</expire-at><entry><content>content_trrz520205</content></entry></data>

2021-10-06 22:58:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:58:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:58:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>f40494c9-aa98-482c-9a81-33186f892807</value></item-id></result>

2021-10-06 22:58:07 | contains: true

2021-10-06 22:58:07 | [Mutex] waiting for: [user_regularwy36600202@test-domain.com:message:received:content_trrz520205]

2021-10-06 22:58:22 | [Mutex] timeout. Not received [user_regularwy36600202@test-domain.com:message:received:content_trrz520205]

2021-10-06 22:58:22 | [Mutex] isItemNotified: user_regularwy36600202@test-domain.com:message:received:content_trrz520205 :: false

2021-10-06 22:58:22 |


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


2021-10-06 22:58:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:58:22 | command: <data><node>node_cv1lz60203</node><entry><content>content_3rqf5m0206</content></entry></data>

2021-10-06 22:58:22 | target: http://localhost:8088

2021-10-06 22:58:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-10-06 22:58:22 | entity: <data><node>node_cv1lz60203</node><entry><content>content_3rqf5m0206</content></entry></data>

2021-10-06 22:58:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:58:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:58:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>cfbc7f34-767f-4a78-8eb7-9e5b26c7ee18</value></item-id></result>

2021-10-06 22:58:22 | contains: true

2021-10-06 22:58:28 | [Mutex] waiting for: [user_regularwy36600202@test-domain.com:message:received:content_3rqf5m0206]

2021-10-06 22:58:28 | [Mutex] waiting for: [user_regularwy36600202@test-domain.com:message:received:content_3rqf5m0206]

2021-10-06 22:58:28 | [Mutex] received everything.

2021-10-06 22:58:28 | [Mutex] isItemNotified: user_regularwy36600202@test-domain.com:message:received:content_3rqf5m0206 :: true

2021-10-06 22:58:28 |


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


2021-10-06 22:58:28 | [Mutex] received everything.

2021-10-06 22:58:28 | [Mutex] isItemNotified: node_cv1lz60203:subscribe_node:success :: true

2021-10-06 22:58:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-10-06 22:58:28 | command: <data><node>node_cv1lz60203</node><expire-at>2021-10-07T05:58:33Z</expire-at><entry><content>content_92fivz0207</content></entry></data>

2021-10-06 22:58:28 | target: http://localhost:8088

2021-10-06 22:58:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-10-06 22:58:28 | entity: <data><node>node_cv1lz60203</node><expire-at>2021-10-07T05:58:33Z</expire-at><entry><content>content_92fivz0207</content></entry></data>

2021-10-06 22:58:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 07 Oct 2021 05:58:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-10-06 22:58:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>ba551c9e-8af3-48f6-9f00-c112af91062f</value></item-id></result>

2021-10-06 22:58:28 | contains: true

2021-10-06 22:58:36 | [Mutex] waiting for: [user_regularwy36600202@test-domain.com:message:received:content_92fivz0207]

2021-10-06 22:58:51 | [Mutex] timeout. Not received [user_regularwy36600202@test-domain.com:message:received:content_92fivz0207]

2021-10-06 22:58:51 | [Mutex] received everything.

2021-10-06 22:58:51 | [Mutex] isItemNotified: user_regularwy36600202@test-domain.com:message:received:content_92fivz0207 :: false

2021-10-06 22:58:51 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_92fivz0207 :: true