Generated by TestNG with ReportNG at 21:36 PST on Monday 01 March 2021
root@43fec6d4badf / 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.497s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.694s
2021-03-01 21:51:32 |

2021-03-01 21:51:32 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2021-03-01 21:51:32 | ------------------------------------

2021-03-01 21:51:32 | [Mutex] isItemNotified: node_1ynaek0203:exists :: false

2021-03-01 21:51:32 | [Mutex] waiting for: [node_1ynaek0203:create_node]

2021-03-01 21:51:32 | [Mutex] received everything.

2021-03-01 21:51:32 | [Mutex] isItemNotified: node_1ynaek0203:create_node:success :: true

2021-03-01 21:51:32 | [Mutex] waiting for: [node_1ynaek0203:subscribe_node]

2021-03-01 21:51:32 | [Mutex] received everything.

2021-03-01 21:51:32 | [Mutex] isItemNotified: node_1ynaek0203:subscribe_node:success :: true

2021-03-01 21:51:32 |


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


2021-03-01 21:51:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:51:32 | command: <data><node>node_1ynaek0203</node><entry><content>content_5qjrqt0204</content></entry></data>

2021-03-01 21:51:32 | target: http://localhost:8088

2021-03-01 21:51:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-01 21:51:32 | entity: <data><node>node_1ynaek0203</node><entry><content>content_5qjrqt0204</content></entry></data>

2021-03-01 21:51:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:51:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-01 21:51:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>11b8075b-801c-4418-831c-e9251388df43</value></item-id></result>

2021-03-01 21:51:32 | contains: true

2021-03-01 21:51:32 | [Mutex] received everything.

2021-03-01 21:51:32 | [Mutex] isItemNotified: user_regularyxp18q0202@test-domain.com:message:received:content_5qjrqt0204 :: true

2021-03-01 21:51:32 |


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


2021-03-01 21:51:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:51:32 | command: <data><node>node_1ynaek0203</node><expire-at>2021-03-02T05:51:27Z</expire-at><entry><content>content_p0gvic0205</content></entry></data>

2021-03-01 21:51:32 | target: http://localhost:8088

2021-03-01 21:51:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-01 21:51:32 | entity: <data><node>node_1ynaek0203</node><expire-at>2021-03-02T05:51:27Z</expire-at><entry><content>content_p0gvic0205</content></entry></data>

2021-03-01 21:51:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:51:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-01 21:51:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>68a9439d-7341-42e3-85a8-261cbc3d0852</value></item-id></result>

2021-03-01 21:51:32 | contains: true

2021-03-01 21:51:32 | [Mutex] waiting for: [user_regularyxp18q0202@test-domain.com:message:received:content_p0gvic0205]

2021-03-01 21:51:47 | [Mutex] timeout. Not received [user_regularyxp18q0202@test-domain.com:message:received:content_p0gvic0205]

2021-03-01 21:51:47 | [Mutex] isItemNotified: user_regularyxp18q0202@test-domain.com:message:received:content_p0gvic0205 :: false

2021-03-01 21:51:47 |


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


2021-03-01 21:51:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:51:47 | command: <data><node>node_1ynaek0203</node><entry><content>content_eggt390206</content></entry></data>

2021-03-01 21:51:47 | target: http://localhost:8088

2021-03-01 21:51:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2021-03-01 21:51:47 | entity: <data><node>node_1ynaek0203</node><entry><content>content_eggt390206</content></entry></data>

2021-03-01 21:51:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:51:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-01 21:51:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>7bf1ebed-7b5f-43cf-9d55-159268a7467c</value></item-id></result>

2021-03-01 21:51:47 | contains: true

2021-03-01 21:51:52 | [Mutex] waiting for: [user_regularyxp18q0202@test-domain.com:message:received:content_eggt390206]

2021-03-01 21:51:52 | [Mutex] received everything.

2021-03-01 21:51:52 | [Mutex] isItemNotified: user_regularyxp18q0202@test-domain.com:message:received:content_eggt390206 :: true

2021-03-01 21:51:52 |


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


2021-03-01 21:51:52 | [Mutex] received everything.

2021-03-01 21:51:52 | [Mutex] isItemNotified: node_1ynaek0203:subscribe_node:success :: true

2021-03-01 21:51:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2021-03-01 21:51:52 | command: <data><node>node_1ynaek0203</node><expire-at>2021-03-02T05:51:57Z</expire-at><entry><content>content_jo0jub0207</content></entry></data>

2021-03-01 21:51:52 | target: http://localhost:8088

2021-03-01 21:51:52 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2021-03-01 21:51:52 | entity: <data><node>node_1ynaek0203</node><expire-at>2021-03-02T05:51:57Z</expire-at><entry><content>content_jo0jub0207</content></entry></data>

2021-03-01 21:51:52 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 02 Mar 2021 05:51:52 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2021-03-01 21:51:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>5b555a86-b130-4882-8bcf-e14338aa352e</value></item-id></result>

2021-03-01 21:51:52 | contains: true

2021-03-01 21:52:00 | [Mutex] waiting for: [user_regularyxp18q0202@test-domain.com:message:received:content_jo0jub0207]

2021-03-01 21:52:00 | [Mutex] waiting for: [user_regularyxp18q0202@test-domain.com:message:received:content_jo0jub0207]

2021-03-01 21:52:15 | [Mutex] timeout. Not received [user_regularyxp18q0202@test-domain.com:message:received:content_jo0jub0207]

2021-03-01 21:52:15 | [Mutex] received everything.

2021-03-01 21:52:15 | [Mutex] isItemNotified: user_regularyxp18q0202@test-domain.com:message:received:content_jo0jub0207 :: false

2021-03-01 21:52:15 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_jo0jub0207 :: true