Generated by TestNG with ReportNG at 22:46 PDT on Monday 31 July 2023
root@7962bf290299 / Java 17.0.7 (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.654s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.597s
2023-07-31 23:00:54 |

2023-07-31 23:00:54 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-31 23:00:54 | ------------------------------------

2023-07-31 23:00:54 | [Mutex] isItemNotified: node_1vyv3q0208:exists :: false

2023-07-31 23:00:54 | [Mutex] waiting for: [node_1vyv3q0208:create_node]

2023-07-31 23:00:54 | [Mutex] received everything.

2023-07-31 23:00:54 | [Mutex] isItemNotified: node_1vyv3q0208:create_node:success :: true

2023-07-31 23:00:54 | [Mutex] waiting for: [node_1vyv3q0208:subscribe_node]

2023-07-31 23:00:54 | [Mutex] waiting for: [node_1vyv3q0208:subscribe_node]

2023-07-31 23:00:54 | [Mutex] received everything.

2023-07-31 23:00:54 | [Mutex] isItemNotified: node_1vyv3q0208:subscribe_node:success :: true

2023-07-31 23:00:54 |


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


2023-07-31 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 23:00:54 | command: <data><node>node_1vyv3q0208</node><entry><content>content_g58yjy0209</content></entry></data>

2023-07-31 23:00:54 | target: http://localhost:8088

2023-07-31 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-31 23:00:54 | entity: <data><node>node_1vyv3q0208</node><entry><content>content_g58yjy0209</content></entry></data>

2023-07-31 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8e1cc9e2-c6c1-4dff-a71b-d35c5d64ae5d</value></item-id></result>

2023-07-31 23:00:54 | contains: true

2023-07-31 23:00:54 | [Mutex] received everything.

2023-07-31 23:00:54 | [Mutex] isItemNotified: user_regularf3gsz0207@test-domain.com:message:received:content_g58yjy0209 :: true

2023-07-31 23:00:54 |


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


2023-07-31 23:00:54 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 23:00:54 | command: <data><node>node_1vyv3q0208</node><expire-at>2023-08-01T06:00:49Z</expire-at><entry><content>content_suf7f0210</content></entry></data>

2023-07-31 23:00:54 | target: http://localhost:8088

2023-07-31 23:00:54 | entity: [Content-Type: application/xml,Content-Length: 135,Chunked: false]

2023-07-31 23:00:54 | entity: <data><node>node_1vyv3q0208</node><expire-at>2023-08-01T06:00:49Z</expire-at><entry><content>content_suf7f0210</content></entry></data>

2023-07-31 23:00:54 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 06:00:54 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 23:00:54 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2b5ca638-4be8-420e-b4d3-37f4fc7471bb</value></item-id></result>

2023-07-31 23:00:54 | contains: true

2023-07-31 23:00:54 | [Mutex] waiting for: [user_regularf3gsz0207@test-domain.com:message:received:content_suf7f0210]

2023-07-31 23:01:09 | [Mutex] timeout. Not received [user_regularf3gsz0207@test-domain.com:message:received:content_suf7f0210]

2023-07-31 23:01:09 | [Mutex] isItemNotified: user_regularf3gsz0207@test-domain.com:message:received:content_suf7f0210 :: false

2023-07-31 23:01:09 |


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


2023-07-31 23:01:09 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 23:01:09 | command: <data><node>node_1vyv3q0208</node><entry><content>content_hflxaj0211</content></entry></data>

2023-07-31 23:01:09 | target: http://localhost:8088

2023-07-31 23:01:09 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-31 23:01:09 | entity: <data><node>node_1vyv3q0208</node><entry><content>content_hflxaj0211</content></entry></data>

2023-07-31 23:01:09 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 06:01:09 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 23:01:09 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9a1ea1ca-7205-4ece-b058-6ee7cf2289e8</value></item-id></result>

2023-07-31 23:01:09 | contains: true

2023-07-31 23:01:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-31 23:01:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-07-31 23:01:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-31 23:01:15 | [Mutex] received everything.

2023-07-31 23:01:15 | [Mutex] isItemNotified: user_regularf3gsz0207@test-domain.com:message:received:content_hflxaj0211 :: true

2023-07-31 23:01:15 |


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


2023-07-31 23:01:15 | [Mutex] received everything.

2023-07-31 23:01:15 | [Mutex] isItemNotified: node_1vyv3q0208:subscribe_node:success :: true

2023-07-31 23:01:15 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 23:01:15 | command: <data><node>node_1vyv3q0208</node><expire-at>2023-08-01T06:01:20Z</expire-at><entry><content>content_d8dm9k0212</content></entry></data>

2023-07-31 23:01:15 | target: http://localhost:8088

2023-07-31 23:01:15 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-31 23:01:15 | entity: <data><node>node_1vyv3q0208</node><expire-at>2023-08-01T06:01:20Z</expire-at><entry><content>content_d8dm9k0212</content></entry></data>

2023-07-31 23:01:15 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 01 Aug 2023 06:01:15 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-07-31 23:01:15 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d201b79d-8100-4fb8-b869-dc5ff64c45ac</value></item-id></result>

2023-07-31 23:01:15 | contains: true

2023-07-31 23:01:23 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-07-31 23:01:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] DNS entry stored in session object: localhost:5222

2023-07-31 23:01:23 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-07-31 23:01:23 | [Mutex] waiting for: [user_regularf3gsz0207@test-domain.com:message:received:content_d8dm9k0212]

2023-07-31 23:01:38 | [Mutex] timeout. Not received [user_regularf3gsz0207@test-domain.com:message:received:content_d8dm9k0212]

2023-07-31 23:01:38 | [Mutex] received everything.

2023-07-31 23:01:38 | [Mutex] isItemNotified: user_regularf3gsz0207@test-domain.com:message:received:content_d8dm9k0212 :: false

2023-07-31 23:01:38 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d8dm9k0212 :: true