Generated by TestNG with ReportNG at 21:21 PST on Thursday 28 January 2021
root@eaa73862192b / 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.012s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.697s
2021-01-28 21:37:34 |

2021-01-28 21:37:34 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-01-28 21:37:34 | ------------------------------------

2021-01-28 21:37:34 | [Mutex] isItemNotified: node_dzlflr0203:exists :: false

2021-01-28 21:37:34 | [Mutex] waiting for: [node_dzlflr0203:create_node]

2021-01-28 21:37:34 | [Mutex] received everything.

2021-01-28 21:37:34 | [Mutex] isItemNotified: node_dzlflr0203:create_node:success :: true

2021-01-28 21:37:34 | [Mutex] waiting for: [node_dzlflr0203:subscribe_node]

2021-01-28 21:37:34 | [Mutex] received everything.

2021-01-28 21:37:34 | [Mutex] isItemNotified: node_dzlflr0203:subscribe_node:success :: true

2021-01-28 21:37:34 |


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


2021-01-28 21:37:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:37:34 | command: <data><node>node_dzlflr0203</node><entry><content>content_9m1b210204</content></entry></data>

2021-01-28 21:37:34 | target: http://localhost:8088

2021-01-28 21:37:34 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-28 21:37:34 | entity: <data><node>node_dzlflr0203</node><entry><content>content_9m1b210204</content></entry></data>

2021-01-28 21:37:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:37:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:37:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e9784bf6-5cec-4dda-90a0-157602695751</value></item-id></result>

2021-01-28 21:37:34 | contains: true

2021-01-28 21:37:34 | [Mutex] received everything.

2021-01-28 21:37:34 | [Mutex] isItemNotified: user_regularufxtgo0202@test-domain.com:message:received:content_9m1b210204 :: true

2021-01-28 21:37:34 |


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


2021-01-28 21:37:34 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:37:34 | command: <data><node>node_dzlflr0203</node><expire-at>2021-01-29T05:37:29Z</expire-at><entry><content>content_gj9iuk0205</content></entry></data>

2021-01-28 21:37:34 | target: http://localhost:8088

2021-01-28 21:37:34 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-28 21:37:34 | entity: <data><node>node_dzlflr0203</node><expire-at>2021-01-29T05:37:29Z</expire-at><entry><content>content_gj9iuk0205</content></entry></data>

2021-01-28 21:37:34 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:37:34 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:37:34 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e0a909a0-0d78-4a08-8c07-ba3c7e94e6ac</value></item-id></result>

2021-01-28 21:37:34 | contains: true

2021-01-28 21:37:34 | [Mutex] waiting for: [user_regularufxtgo0202@test-domain.com:message:received:content_gj9iuk0205]

2021-01-28 21:37:49 | [Mutex] timeout. Not received [user_regularufxtgo0202@test-domain.com:message:received:content_gj9iuk0205]

2021-01-28 21:37:49 | [Mutex] isItemNotified: user_regularufxtgo0202@test-domain.com:message:received:content_gj9iuk0205 :: false

2021-01-28 21:37:49 |


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


2021-01-28 21:37:49 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:37:49 | command: <data><node>node_dzlflr0203</node><entry><content>content_312s6i0206</content></entry></data>

2021-01-28 21:37:49 | target: http://localhost:8088

2021-01-28 21:37:49 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-01-28 21:37:49 | entity: <data><node>node_dzlflr0203</node><entry><content>content_312s6i0206</content></entry></data>

2021-01-28 21:37:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:37:49 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:37:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>e996485e-fb63-4b3a-bb35-06e79d0bef84</value></item-id></result>

2021-01-28 21:37:49 | contains: true

2021-01-28 21:37:54 | [Mutex] received everything.

2021-01-28 21:37:54 | [Mutex] isItemNotified: user_regularufxtgo0202@test-domain.com:message:received:content_312s6i0206 :: true

2021-01-28 21:37:54 |


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


2021-01-28 21:37:54 | [Mutex] received everything.

2021-01-28 21:37:54 | [Mutex] isItemNotified: node_dzlflr0203:subscribe_node:success :: true

2021-01-28 21:37:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-01-28 21:37:54 | command: <data><node>node_dzlflr0203</node><expire-at>2021-01-29T05:37:59Z</expire-at><entry><content>content_33cfmy0207</content></entry></data>

2021-01-28 21:37:54 | target: http://localhost:8088

2021-01-28 21:37:54 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-01-28 21:37:54 | entity: <data><node>node_dzlflr0203</node><expire-at>2021-01-29T05:37:59Z</expire-at><entry><content>content_33cfmy0207</content></entry></data>

2021-01-28 21:37:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 29 Jan 2021 05:37:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-01-28 21:37:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>87bc2a31-8e49-4c58-897f-3411b24f9341</value></item-id></result>

2021-01-28 21:37:54 | contains: true

2021-01-28 21:38:03 | [Mutex] waiting for: [user_regularufxtgo0202@test-domain.com:message:received:content_33cfmy0207]

2021-01-28 21:38:03 | [Mutex] waiting for: [user_regularufxtgo0202@test-domain.com:message:received:content_33cfmy0207]

2021-01-28 21:38:18 | [Mutex] timeout. Not received [user_regularufxtgo0202@test-domain.com:message:received:content_33cfmy0207]

2021-01-28 21:38:18 | [Mutex] received everything.

2021-01-28 21:38:18 | [Mutex] isItemNotified: user_regularufxtgo0202@test-domain.com:message:received:content_33cfmy0207 :: false

2021-01-28 21:38:18 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_33cfmy0207 :: true