Generated by TestNG with ReportNG at 06:08 PDT on Tuesday 12 July 2022
root@7c41cec37518 / Java 17.0.2 (Private Build) / Linux 4.14.281-212.502.amzn2.x86_64 (amd64)

REST: Item publication on PubSub node with message expiration using REST API - #2959

Suites · Log Output

Test duration : 44.569s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.620s
2022-07-12 06:23:51 |

2022-07-12 06:23:51 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-07-12 06:23:51 | ------------------------------------

2022-07-12 06:23:51 | [Mutex] isItemNotified: node_qqegyb0204:exists :: false

2022-07-12 06:23:51 | [Mutex] waiting for: [node_qqegyb0204:create_node]

2022-07-12 06:23:51 | [Mutex] received everything.

2022-07-12 06:23:51 | [Mutex] isItemNotified: node_qqegyb0204:create_node:success :: true

2022-07-12 06:23:51 | [Mutex] waiting for: [node_qqegyb0204:subscribe_node]

2022-07-12 06:23:51 | [Mutex] received everything.

2022-07-12 06:23:51 | [Mutex] isItemNotified: node_qqegyb0204:subscribe_node:success :: true

2022-07-12 06:23:51 |


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


2022-07-12 06:23:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:23:51 | command: <data><node>node_qqegyb0204</node><entry><content>content_iiyrsb0205</content></entry></data>

2022-07-12 06:23:51 | target: http://localhost:8088

2022-07-12 06:23:51 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 06:23:51 | entity: <data><node>node_qqegyb0204</node><entry><content>content_iiyrsb0205</content></entry></data>

2022-07-12 06:23:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:23:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:23:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>31b30630-a7a1-4571-88e7-4070ae1d0d99</value></item-id></result>

2022-07-12 06:23:51 | contains: true

2022-07-12 06:23:51 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_iiyrsb0205]

2022-07-12 06:23:51 | [Mutex] received everything.

2022-07-12 06:23:51 | [Mutex] isItemNotified: user_regulargxzzzk0203@test-domain.com:message:received:content_iiyrsb0205 :: true

2022-07-12 06:23:51 |


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


2022-07-12 06:23:51 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:23:51 | command: <data><node>node_qqegyb0204</node><expire-at>2022-07-12T13:23:46Z</expire-at><entry><content>content_c4yj560206</content></entry></data>

2022-07-12 06:23:51 | target: http://localhost:8088

2022-07-12 06:23:51 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 06:23:51 | entity: <data><node>node_qqegyb0204</node><expire-at>2022-07-12T13:23:46Z</expire-at><entry><content>content_c4yj560206</content></entry></data>

2022-07-12 06:23:51 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:23:51 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:23:51 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a65317d0-1b2c-4214-a9dd-a001e5a59a84</value></item-id></result>

2022-07-12 06:23:51 | contains: true

2022-07-12 06:23:51 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_c4yj560206]

2022-07-12 06:24:06 | [Mutex] timeout. Not received [user_regulargxzzzk0203@test-domain.com:message:received:content_c4yj560206]

2022-07-12 06:24:06 | [Mutex] isItemNotified: user_regulargxzzzk0203@test-domain.com:message:received:content_c4yj560206 :: false

2022-07-12 06:24:06 |


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


2022-07-12 06:24:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:24:06 | command: <data><node>node_qqegyb0204</node><entry><content>content_fyuyto0207</content></entry></data>

2022-07-12 06:24:06 | target: http://localhost:8088

2022-07-12 06:24:06 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-07-12 06:24:06 | entity: <data><node>node_qqegyb0204</node><entry><content>content_fyuyto0207</content></entry></data>

2022-07-12 06:24:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:24:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:24:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>76ebf6fe-e4a7-4a03-8f64-9689a5d0b644</value></item-id></result>

2022-07-12 06:24:06 | contains: true

2022-07-12 06:24:11 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 06:24:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 06:24:11 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 06:24:11 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_fyuyto0207]

2022-07-12 06:24:11 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_fyuyto0207]

2022-07-12 06:24:11 | [Mutex] received everything.

2022-07-12 06:24:11 | [Mutex] isItemNotified: user_regulargxzzzk0203@test-domain.com:message:received:content_fyuyto0207 :: true

2022-07-12 06:24:11 |


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


2022-07-12 06:24:11 | [Mutex] received everything.

2022-07-12 06:24:11 | [Mutex] isItemNotified: node_qqegyb0204:subscribe_node:success :: true

2022-07-12 06:24:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-07-12 06:24:12 | command: <data><node>node_qqegyb0204</node><expire-at>2022-07-12T13:24:17Z</expire-at><entry><content>content_5d2wxc0208</content></entry></data>

2022-07-12 06:24:12 | target: http://localhost:8088

2022-07-12 06:24:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-07-12 06:24:12 | entity: <data><node>node_qqegyb0204</node><expire-at>2022-07-12T13:24:17Z</expire-at><entry><content>content_5d2wxc0208</content></entry></data>

2022-07-12 06:24:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 12 Jul 2022 13:24:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-07-12 06:24:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>745f26ec-8d39-489b-9342-d59136f1957e</value></item-id></result>

2022-07-12 06:24:12 | contains: true

2022-07-12 06:24:20 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-07-12 06:24:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-07-12 06:24:20 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-07-12 06:24:20 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_5d2wxc0208]

2022-07-12 06:24:20 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_5d2wxc0208]

2022-07-12 06:24:20 | [Mutex] waiting for: [user_regulargxzzzk0203@test-domain.com:message:received:content_5d2wxc0208]

2022-07-12 06:24:35 | [Mutex] timeout. Not received [user_regulargxzzzk0203@test-domain.com:message:received:content_5d2wxc0208]

2022-07-12 06:24:35 | [Mutex] received everything.

2022-07-12 06:24:35 | [Mutex] isItemNotified: user_regulargxzzzk0203@test-domain.com:message:received:content_5d2wxc0208 :: false

2022-07-12 06:24:35 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5d2wxc0208 :: true