Generated by TestNG with ReportNG at 22:45 PDT on Wednesday 24 May 2023
root@1512af24e4a5 / Java 17.0.6 (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.699s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.592s
2023-05-24 23:00:12 |

2023-05-24 23:00:12 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-24 23:00:12 | ------------------------------------

2023-05-24 23:00:12 | [Mutex] isItemNotified: node_rj4iqj0208:exists :: false

2023-05-24 23:00:12 | [Mutex] waiting for: [node_rj4iqj0208:create_node]

2023-05-24 23:00:12 | [Mutex] received everything.

2023-05-24 23:00:12 | [Mutex] isItemNotified: node_rj4iqj0208:create_node:success :: true

2023-05-24 23:00:12 | [Mutex] waiting for: [node_rj4iqj0208:subscribe_node]

2023-05-24 23:00:12 | [Mutex] waiting for: [node_rj4iqj0208:subscribe_node]

2023-05-24 23:00:12 | [Mutex] received everything.

2023-05-24 23:00:12 | [Mutex] isItemNotified: node_rj4iqj0208:subscribe_node:success :: true

2023-05-24 23:00:12 |


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


2023-05-24 23:00:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 23:00:12 | command: <data><node>node_rj4iqj0208</node><entry><content>content_aj5w40209</content></entry></data>

2023-05-24 23:00:12 | target: http://localhost:8088

2023-05-24 23:00:12 | entity: [Content-Type: application/xml,Content-Length: 92,Chunked: false]

2023-05-24 23:00:12 | entity: <data><node>node_rj4iqj0208</node><entry><content>content_aj5w40209</content></entry></data>

2023-05-24 23:00:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 06:00:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 23:00:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>55130e7c-669a-4d56-a71e-89840bca7ade</value></item-id></result>

2023-05-24 23:00:12 | contains: true

2023-05-24 23:00:12 | [Mutex] waiting for: [user_regularrz2rko0207@test-domain.com:message:received:content_aj5w40209]

2023-05-24 23:00:12 | [Mutex] received everything.

2023-05-24 23:00:12 | [Mutex] isItemNotified: user_regularrz2rko0207@test-domain.com:message:received:content_aj5w40209 :: true

2023-05-24 23:00:12 |


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


2023-05-24 23:00:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 23:00:12 | command: <data><node>node_rj4iqj0208</node><expire-at>2023-05-25T06:00:07Z</expire-at><entry><content>content_4uo0rp0210</content></entry></data>

2023-05-24 23:00:12 | target: http://localhost:8088

2023-05-24 23:00:12 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 23:00:12 | entity: <data><node>node_rj4iqj0208</node><expire-at>2023-05-25T06:00:07Z</expire-at><entry><content>content_4uo0rp0210</content></entry></data>

2023-05-24 23:00:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 06:00:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 23:00:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>82e6293d-61ee-451f-a431-534784328f13</value></item-id></result>

2023-05-24 23:00:12 | contains: true

2023-05-24 23:00:12 | [Mutex] waiting for: [user_regularrz2rko0207@test-domain.com:message:received:content_4uo0rp0210]

2023-05-24 23:00:27 | [Mutex] timeout. Not received [user_regularrz2rko0207@test-domain.com:message:received:content_4uo0rp0210]

2023-05-24 23:00:27 | [Mutex] isItemNotified: user_regularrz2rko0207@test-domain.com:message:received:content_4uo0rp0210 :: false

2023-05-24 23:00:27 |


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


2023-05-24 23:00:27 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 23:00:27 | command: <data><node>node_rj4iqj0208</node><entry><content>content_8rmnsw0211</content></entry></data>

2023-05-24 23:00:27 | target: http://localhost:8088

2023-05-24 23:00:27 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-24 23:00:27 | entity: <data><node>node_rj4iqj0208</node><entry><content>content_8rmnsw0211</content></entry></data>

2023-05-24 23:00:27 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 06:00:27 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 23:00:27 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b00a6603-9946-4e1c-b825-dd9173750998</value></item-id></result>

2023-05-24 23:00:27 | contains: true

2023-05-24 23:00:32 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-05-24 23:00:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] DNS entry stored in session object: localhost:5222

2023-05-24 23:00:32 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=485 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 23:00:32 | [Mutex] waiting for: [user_regularrz2rko0207@test-domain.com:message:received:content_8rmnsw0211]

2023-05-24 23:00:32 | [Mutex] waiting for: [user_regularrz2rko0207@test-domain.com:message:received:content_8rmnsw0211]

2023-05-24 23:00:32 | [Mutex] received everything.

2023-05-24 23:00:32 | [Mutex] isItemNotified: user_regularrz2rko0207@test-domain.com:message:received:content_8rmnsw0211 :: true

2023-05-24 23:00:32 |


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


2023-05-24 23:00:32 | [Mutex] received everything.

2023-05-24 23:00:32 | [Mutex] isItemNotified: node_rj4iqj0208:subscribe_node:success :: true

2023-05-24 23:00:32 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-24 23:00:32 | command: <data><node>node_rj4iqj0208</node><expire-at>2023-05-25T06:00:37Z</expire-at><entry><content>content_fut3d60212</content></entry></data>

2023-05-24 23:00:32 | target: http://localhost:8088

2023-05-24 23:00:32 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-24 23:00:32 | entity: <data><node>node_rj4iqj0208</node><expire-at>2023-05-25T06:00:37Z</expire-at><entry><content>content_fut3d60212</content></entry></data>

2023-05-24 23:00:32 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Thu, 25 May 2023 06:00:32 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-24 23:00:32 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>668a07d8-3321-48f0-bc9a-f1f436359d1c</value></item-id></result>

2023-05-24 23:00:32 | contains: true

2023-05-24 23:00:40 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

2023-05-24 23:00:40 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=486 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-05-24 23:00:40 | [Mutex] waiting for: [user_regularrz2rko0207@test-domain.com:message:received:content_fut3d60212]

2023-05-24 23:00:40 | [Mutex] waiting for: [user_regularrz2rko0207@test-domain.com:message:received:content_fut3d60212]

2023-05-24 23:00:55 | [Mutex] timeout. Not received [user_regularrz2rko0207@test-domain.com:message:received:content_fut3d60212]

2023-05-24 23:00:55 | [Mutex] received everything.

2023-05-24 23:00:55 | [Mutex] isItemNotified: user_regularrz2rko0207@test-domain.com:message:received:content_fut3d60212 :: false

2023-05-24 23:00:55 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_fut3d60212 :: true