Generated by TestNG with ReportNG at 23:55 PDT on Saturday 19 September 2020
root@9a694adb6f25 / 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.259s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.808s
2020-09-20 00:11:06 |

2020-09-20 00:11:06 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2020-09-20 00:11:06 | ------------------------------------

2020-09-20 00:11:06 | [Mutex] isItemNotified: node_3ofe4u0203:exists :: false

2020-09-20 00:11:06 | [Mutex] waiting for: [node_3ofe4u0203:create_node]

2020-09-20 00:11:06 | [Mutex] received everything.

2020-09-20 00:11:06 | [Mutex] isItemNotified: node_3ofe4u0203:create_node:success :: true

2020-09-20 00:11:06 | [Mutex] waiting for: [node_3ofe4u0203:subscribe_node]

2020-09-20 00:11:06 | [Mutex] waiting for: [node_3ofe4u0203:subscribe_node]

2020-09-20 00:11:06 | [Mutex] received everything.

2020-09-20 00:11:06 | [Mutex] isItemNotified: node_3ofe4u0203:subscribe_node:success :: true

2020-09-20 00:11:06 |


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


2020-09-20 00:11:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 00:11:06 | command: <data><node>node_3ofe4u0203</node><entry><content>content_foxofx0204</content></entry></data>

2020-09-20 00:11:06 | target: http://localhost:8088

2020-09-20 00:11:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 00:11:06 | entity: <data><node>node_3ofe4u0203</node><entry><content>content_foxofx0204</content></entry></data>

2020-09-20 00:11:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 07:11:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 00:11:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>0e72357f-6af5-490f-8015-e16fb4cb6c55</value></item-id></result>

2020-09-20 00:11:06 | contains: true

2020-09-20 00:11:06 | [Mutex] waiting for: [user_regular1ll3yb0202@test-domain.com:message:received:content_foxofx0204]

2020-09-20 00:11:06 | [Mutex] received everything.

2020-09-20 00:11:06 | [Mutex] isItemNotified: user_regular1ll3yb0202@test-domain.com:message:received:content_foxofx0204 :: true

2020-09-20 00:11:06 |


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


2020-09-20 00:11:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 00:11:06 | command: <data><node>node_3ofe4u0203</node><expire-at>2020-09-20T07:11:01Z</expire-at><entry><content>content_9vxj6r0205</content></entry></data>

2020-09-20 00:11:06 | target: http://localhost:8088

2020-09-20 00:11:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 00:11:06 | entity: <data><node>node_3ofe4u0203</node><expire-at>2020-09-20T07:11:01Z</expire-at><entry><content>content_9vxj6r0205</content></entry></data>

2020-09-20 00:11:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 07:11:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 00:11:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c4d9bbc6-689b-475f-850c-5628b5a36853</value></item-id></result>

2020-09-20 00:11:07 | contains: true

2020-09-20 00:11:07 | [Mutex] waiting for: [user_regular1ll3yb0202@test-domain.com:message:received:content_9vxj6r0205]

2020-09-20 00:11:22 | [Mutex] timeout. Not received [user_regular1ll3yb0202@test-domain.com:message:received:content_9vxj6r0205]

2020-09-20 00:11:22 | [Mutex] isItemNotified: user_regular1ll3yb0202@test-domain.com:message:received:content_9vxj6r0205 :: false

2020-09-20 00:11:22 |


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


2020-09-20 00:11:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 00:11:22 | command: <data><node>node_3ofe4u0203</node><entry><content>content_tcwflt0206</content></entry></data>

2020-09-20 00:11:22 | target: http://localhost:8088

2020-09-20 00:11:22 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2020-09-20 00:11:22 | entity: <data><node>node_3ofe4u0203</node><entry><content>content_tcwflt0206</content></entry></data>

2020-09-20 00:11:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 07:11:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 00:11:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bcf1aa90-7d02-4c92-948f-9d2f87f4a851</value></item-id></result>

2020-09-20 00:11:22 | contains: true

2020-09-20 00:11:27 | [Mutex] waiting for: [user_regular1ll3yb0202@test-domain.com:message:received:content_tcwflt0206]

2020-09-20 00:11:27 | [Mutex] waiting for: [user_regular1ll3yb0202@test-domain.com:message:received:content_tcwflt0206]

2020-09-20 00:11:27 | [Mutex] received everything.

2020-09-20 00:11:27 | [Mutex] isItemNotified: user_regular1ll3yb0202@test-domain.com:message:received:content_tcwflt0206 :: true

2020-09-20 00:11:27 |


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


2020-09-20 00:11:27 | [Mutex] received everything.

2020-09-20 00:11:27 | [Mutex] isItemNotified: node_3ofe4u0203:subscribe_node:success :: true

2020-09-20 00:11:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2020-09-20 00:11:27 | command: <data><node>node_3ofe4u0203</node><expire-at>2020-09-20T07:11:32Z</expire-at><entry><content>content_9fyr9w0207</content></entry></data>

2020-09-20 00:11:27 | target: http://localhost:8088

2020-09-20 00:11:27 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2020-09-20 00:11:27 | entity: <data><node>node_3ofe4u0203</node><expire-at>2020-09-20T07:11:32Z</expire-at><entry><content>content_9fyr9w0207</content></entry></data>

2020-09-20 00:11:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 20 Sep 2020 07:11:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2020-09-20 00:11:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>65fe01e3-03cc-4649-94c5-598c3397f717</value></item-id></result>

2020-09-20 00:11:27 | contains: true

2020-09-20 00:11:35 | [Mutex] waiting for: [user_regular1ll3yb0202@test-domain.com:message:received:content_9fyr9w0207]

2020-09-20 00:11:35 | [Mutex] waiting for: [user_regular1ll3yb0202@test-domain.com:message:received:content_9fyr9w0207]

2020-09-20 00:11:50 | [Mutex] timeout. Not received [user_regular1ll3yb0202@test-domain.com:message:received:content_9fyr9w0207]

2020-09-20 00:11:50 | [Mutex] received everything.

2020-09-20 00:11:50 | [Mutex] isItemNotified: user_regular1ll3yb0202@test-domain.com:message:received:content_9fyr9w0207 :: false

2020-09-20 00:11:50 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_9fyr9w0207 :: true