Generated by TestNG with ReportNG at 22:26 PDT on Friday 04 June 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.275s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.677s
2021-06-04 22:41:56 |

2021-06-04 22:41:56 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-06-04 22:41:56 | ------------------------------------

2021-06-04 22:41:56 | [Mutex] isItemNotified: node_17riyn0203:exists :: false

2021-06-04 22:41:56 | [Mutex] waiting for: [node_17riyn0203:create_node]

2021-06-04 22:41:56 | [Mutex] received everything.

2021-06-04 22:41:56 | [Mutex] isItemNotified: node_17riyn0203:create_node:success :: true

2021-06-04 22:41:56 | [Mutex] waiting for: [node_17riyn0203:subscribe_node]

2021-06-04 22:41:56 | [Mutex] received everything.

2021-06-04 22:41:56 | [Mutex] isItemNotified: node_17riyn0203:subscribe_node:success :: true

2021-06-04 22:41:56 |


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


2021-06-04 22:41:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:41:56 | command: <data><node>node_17riyn0203</node><entry><content>content_ne74xl0204</content></entry></data>

2021-06-04 22:41:56 | target: http://localhost:8088

2021-06-04 22:41:56 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-04 22:41:56 | entity: <data><node>node_17riyn0203</node><entry><content>content_ne74xl0204</content></entry></data>

2021-06-04 22:41:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:41:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:41:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2e3e6431-2253-4548-92a0-481c6b314d62</value></item-id></result>

2021-06-04 22:41:56 | contains: true

2021-06-04 22:41:56 | [Mutex] received everything.

2021-06-04 22:41:56 | [Mutex] isItemNotified: user_regularpjdvmj0202@test-domain.com:message:received:content_ne74xl0204 :: true

2021-06-04 22:41:56 |


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


2021-06-04 22:41:56 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:41:56 | command: <data><node>node_17riyn0203</node><expire-at>2021-06-05T05:41:51Z</expire-at><entry><content>content_rjtmrd0205</content></entry></data>

2021-06-04 22:41:56 | target: http://localhost:8088

2021-06-04 22:41:56 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-04 22:41:56 | entity: <data><node>node_17riyn0203</node><expire-at>2021-06-05T05:41:51Z</expire-at><entry><content>content_rjtmrd0205</content></entry></data>

2021-06-04 22:41:56 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:41:56 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:41:56 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e5b33ed3-97ca-4b32-8da2-57ceb483381c</value></item-id></result>

2021-06-04 22:41:56 | contains: true

2021-06-04 22:41:56 | [Mutex] waiting for: [user_regularpjdvmj0202@test-domain.com:message:received:content_rjtmrd0205]

2021-06-04 22:42:11 | [Mutex] timeout. Not received [user_regularpjdvmj0202@test-domain.com:message:received:content_rjtmrd0205]

2021-06-04 22:42:11 | [Mutex] isItemNotified: user_regularpjdvmj0202@test-domain.com:message:received:content_rjtmrd0205 :: false

2021-06-04 22:42:11 |


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


2021-06-04 22:42:11 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:42:11 | command: <data><node>node_17riyn0203</node><entry><content>content_4xj7e10206</content></entry></data>

2021-06-04 22:42:11 | target: http://localhost:8088

2021-06-04 22:42:11 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-06-04 22:42:11 | entity: <data><node>node_17riyn0203</node><entry><content>content_4xj7e10206</content></entry></data>

2021-06-04 22:42:11 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:42:11 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:42:11 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bad8b9a9-7e26-4643-9999-de7ab7426948</value></item-id></result>

2021-06-04 22:42:11 | contains: true

2021-06-04 22:42:17 | [Mutex] waiting for: [user_regularpjdvmj0202@test-domain.com:message:received:content_4xj7e10206]

2021-06-04 22:42:17 | [Mutex] received everything.

2021-06-04 22:42:17 | [Mutex] isItemNotified: user_regularpjdvmj0202@test-domain.com:message:received:content_4xj7e10206 :: true

2021-06-04 22:42:17 |


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


2021-06-04 22:42:17 | [Mutex] received everything.

2021-06-04 22:42:17 | [Mutex] isItemNotified: node_17riyn0203:subscribe_node:success :: true

2021-06-04 22:42:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-06-04 22:42:17 | command: <data><node>node_17riyn0203</node><expire-at>2021-06-05T05:42:22Z</expire-at><entry><content>content_9ncx9c0207</content></entry></data>

2021-06-04 22:42:17 | target: http://localhost:8088

2021-06-04 22:42:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-06-04 22:42:17 | entity: <data><node>node_17riyn0203</node><expire-at>2021-06-05T05:42:22Z</expire-at><entry><content>content_9ncx9c0207</content></entry></data>

2021-06-04 22:42:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 05 Jun 2021 05:42:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-06-04 22:42:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>611db8be-7921-4a86-9caa-4581b3fee365</value></item-id></result>

2021-06-04 22:42:17 | contains: true

2021-06-04 22:42:25 | [Mutex] waiting for: [user_regularpjdvmj0202@test-domain.com:message:received:content_9ncx9c0207]

2021-06-04 22:42:25 | [Mutex] waiting for: [user_regularpjdvmj0202@test-domain.com:message:received:content_9ncx9c0207]

2021-06-04 22:42:40 | [Mutex] timeout. Not received [user_regularpjdvmj0202@test-domain.com:message:received:content_9ncx9c0207]

2021-06-04 22:42:40 | [Mutex] received everything.

2021-06-04 22:42:40 | [Mutex] isItemNotified: user_regularpjdvmj0202@test-domain.com:message:received:content_9ncx9c0207 :: false

2021-06-04 22:42:40 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9ncx9c0207 :: true