Generated by TestNG with ReportNG at 22:33 PDT on Monday 16 May 2022
root@1bc69cf4cb94 / Java 17.0.2 (Private Build) / 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 : 44.776s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.634s
2022-05-16 22:48:17 |

2022-05-16 22:48:17 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-05-16 22:48:17 | ------------------------------------

2022-05-16 22:48:17 | [Mutex] isItemNotified: node_tfmdyb0204:exists :: false

2022-05-16 22:48:17 | [Mutex] waiting for: [node_tfmdyb0204:create_node]

2022-05-16 22:48:17 | [Mutex] waiting for: [node_tfmdyb0204:create_node]

2022-05-16 22:48:17 | [Mutex] received everything.

2022-05-16 22:48:17 | [Mutex] isItemNotified: node_tfmdyb0204:create_node:success :: true

2022-05-16 22:48:17 | [Mutex] waiting for: [node_tfmdyb0204:subscribe_node]

2022-05-16 22:48:17 | [Mutex] waiting for: [node_tfmdyb0204:subscribe_node]

2022-05-16 22:48:17 | [Mutex] received everything.

2022-05-16 22:48:17 | [Mutex] isItemNotified: node_tfmdyb0204:subscribe_node:success :: true

2022-05-16 22:48:17 |


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


2022-05-16 22:48:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-16 22:48:17 | command: <data><node>node_tfmdyb0204</node><entry><content>content_gecrhw0205</content></entry></data>

2022-05-16 22:48:17 | target: http://localhost:8088

2022-05-16 22:48:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-16 22:48:17 | entity: <data><node>node_tfmdyb0204</node><entry><content>content_gecrhw0205</content></entry></data>

2022-05-16 22:48:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 05:48:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-16 22:48:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>c63e7617-0080-4047-93cc-8a8702b26541</value></item-id></result>

2022-05-16 22:48:17 | contains: true

2022-05-16 22:48:17 | [Mutex] waiting for: [user_regularpurkql0203@test-domain.com:message:received:content_gecrhw0205]

2022-05-16 22:48:17 | [Mutex] received everything.

2022-05-16 22:48:17 | [Mutex] isItemNotified: user_regularpurkql0203@test-domain.com:message:received:content_gecrhw0205 :: true

2022-05-16 22:48:17 |


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


2022-05-16 22:48:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-16 22:48:17 | command: <data><node>node_tfmdyb0204</node><expire-at>2022-05-17T05:48:12Z</expire-at><entry><content>content_ul3xb50206</content></entry></data>

2022-05-16 22:48:17 | target: http://localhost:8088

2022-05-16 22:48:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-16 22:48:17 | entity: <data><node>node_tfmdyb0204</node><expire-at>2022-05-17T05:48:12Z</expire-at><entry><content>content_ul3xb50206</content></entry></data>

2022-05-16 22:48:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 05:48:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-16 22:48:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>83e0205e-cd3a-4c84-8392-55e0b5b4bf4b</value></item-id></result>

2022-05-16 22:48:17 | contains: true

2022-05-16 22:48:17 | [Mutex] waiting for: [user_regularpurkql0203@test-domain.com:message:received:content_ul3xb50206]

2022-05-16 22:48:32 | [Mutex] timeout. Not received [user_regularpurkql0203@test-domain.com:message:received:content_ul3xb50206]

2022-05-16 22:48:32 | [Mutex] isItemNotified: user_regularpurkql0203@test-domain.com:message:received:content_ul3xb50206 :: false

2022-05-16 22:48:32 |


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


2022-05-16 22:48:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-16 22:48:32 | command: <data><node>node_tfmdyb0204</node><entry><content>content_utww6f0207</content></entry></data>

2022-05-16 22:48:32 | target: http://localhost:8088

2022-05-16 22:48:32 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-05-16 22:48:32 | entity: <data><node>node_tfmdyb0204</node><entry><content>content_utww6f0207</content></entry></data>

2022-05-16 22:48:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 05:48:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-16 22:48:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>96f5e0d6-93c7-4dad-a0c9-2e30f1c19bbb</value></item-id></result>

2022-05-16 22:48:32 | contains: true

2022-05-16 22:48:37 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-16 22:48:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-05-16 22:48:37 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-16 22:48:37 | [Mutex] waiting for: [user_regularpurkql0203@test-domain.com:message:received:content_utww6f0207]

2022-05-16 22:48:37 | [Mutex] waiting for: [user_regularpurkql0203@test-domain.com:message:received:content_utww6f0207]

2022-05-16 22:48:37 | [Mutex] received everything.

2022-05-16 22:48:37 | [Mutex] isItemNotified: user_regularpurkql0203@test-domain.com:message:received:content_utww6f0207 :: true

2022-05-16 22:48:37 |


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


2022-05-16 22:48:37 | [Mutex] received everything.

2022-05-16 22:48:37 | [Mutex] isItemNotified: node_tfmdyb0204:subscribe_node:success :: true

2022-05-16 22:48:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-05-16 22:48:37 | command: <data><node>node_tfmdyb0204</node><expire-at>2022-05-17T05:48:42Z</expire-at><entry><content>content_d06xyx0208</content></entry></data>

2022-05-16 22:48:37 | target: http://localhost:8088

2022-05-16 22:48:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-05-16 22:48:37 | entity: <data><node>node_tfmdyb0204</node><expire-at>2022-05-17T05:48:42Z</expire-at><entry><content>content_d06xyx0208</content></entry></data>

2022-05-16 22:48:37 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 17 May 2022 05:48:37 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-05-16 22:48:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>5209c36d-f3b0-4532-95c4-ed8986005d40</value></item-id></result>

2022-05-16 22:48:37 | contains: true

2022-05-16 22:48:45 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-05-16 22:48:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-05-16 22:48:45 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-05-16 22:48:45 | [Mutex] waiting for: [user_regularpurkql0203@test-domain.com:message:received:content_d06xyx0208]

2022-05-16 22:49:00 | [Mutex] timeout. Not received [user_regularpurkql0203@test-domain.com:message:received:content_d06xyx0208]

2022-05-16 22:49:00 | [Mutex] received everything.

2022-05-16 22:49:00 | [Mutex] isItemNotified: user_regularpurkql0203@test-domain.com:message:received:content_d06xyx0208 :: false

2022-05-16 22:49:00 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d06xyx0208 :: true