Generated by TestNG with ReportNG at 22:46 PDT on Monday 29 May 2023
root@cc7d7fbb25f7 / 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.610s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.533s
2023-05-29 23:01:28 |

2023-05-29 23:01:28 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-05-29 23:01:28 | ------------------------------------

2023-05-29 23:01:28 | [Mutex] isItemNotified: node_i2uf690208:exists :: false

2023-05-29 23:01:28 | [Mutex] waiting for: [node_i2uf690208:create_node]

2023-05-29 23:01:28 | [Mutex] received everything.

2023-05-29 23:01:28 | [Mutex] isItemNotified: node_i2uf690208:create_node:success :: true

2023-05-29 23:01:28 | [Mutex] waiting for: [node_i2uf690208:subscribe_node]

2023-05-29 23:01:28 | [Mutex] received everything.

2023-05-29 23:01:28 | [Mutex] isItemNotified: node_i2uf690208:subscribe_node:success :: true

2023-05-29 23:01:28 |


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


2023-05-29 23:01:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 23:01:28 | command: <data><node>node_i2uf690208</node><entry><content>content_7xbg160209</content></entry></data>

2023-05-29 23:01:28 | target: http://localhost:8088

2023-05-29 23:01:28 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-29 23:01:28 | entity: <data><node>node_i2uf690208</node><entry><content>content_7xbg160209</content></entry></data>

2023-05-29 23:01:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 06:01:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 23:01:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>bb905c6f-5164-45cc-bd05-3e50bf0bf105</value></item-id></result>

2023-05-29 23:01:28 | contains: true

2023-05-29 23:01:28 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_7xbg160209]

2023-05-29 23:01:28 | [Mutex] received everything.

2023-05-29 23:01:28 | [Mutex] isItemNotified: user_regularmfzkoa0207@test-domain.com:message:received:content_7xbg160209 :: true

2023-05-29 23:01:28 |


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


2023-05-29 23:01:28 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 23:01:28 | command: <data><node>node_i2uf690208</node><expire-at>2023-05-30T06:01:23Z</expire-at><entry><content>content_987yjb0210</content></entry></data>

2023-05-29 23:01:28 | target: http://localhost:8088

2023-05-29 23:01:28 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-29 23:01:28 | entity: <data><node>node_i2uf690208</node><expire-at>2023-05-30T06:01:23Z</expire-at><entry><content>content_987yjb0210</content></entry></data>

2023-05-29 23:01:28 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 06:01:28 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 23:01:28 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>415a6b4e-0b7e-4b75-8870-25a13dad35bf</value></item-id></result>

2023-05-29 23:01:28 | contains: true

2023-05-29 23:01:28 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_987yjb0210]

2023-05-29 23:01:43 | [Mutex] timeout. Not received [user_regularmfzkoa0207@test-domain.com:message:received:content_987yjb0210]

2023-05-29 23:01:43 | [Mutex] isItemNotified: user_regularmfzkoa0207@test-domain.com:message:received:content_987yjb0210 :: false

2023-05-29 23:01:43 |


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


2023-05-29 23:01:43 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 23:01:43 | command: <data><node>node_i2uf690208</node><entry><content>content_ij837s0211</content></entry></data>

2023-05-29 23:01:43 | target: http://localhost:8088

2023-05-29 23:01:43 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-05-29 23:01:43 | entity: <data><node>node_i2uf690208</node><entry><content>content_ij837s0211</content></entry></data>

2023-05-29 23:01:43 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 06:01:43 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 23:01:43 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>942c4bbf-ca4c-4e85-ae7e-88432e5ea31e</value></item-id></result>

2023-05-29 23:01:43 | contains: true

2023-05-29 23:01:48 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-29 23:01:48 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_ij837s0211]

2023-05-29 23:01:48 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_ij837s0211]

2023-05-29 23:01:48 | [Mutex] received everything.

2023-05-29 23:01:48 | [Mutex] isItemNotified: user_regularmfzkoa0207@test-domain.com:message:received:content_ij837s0211 :: true

2023-05-29 23:01:48 |


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


2023-05-29 23:01:48 | [Mutex] received everything.

2023-05-29 23:01:48 | [Mutex] isItemNotified: node_i2uf690208:subscribe_node:success :: true

2023-05-29 23:01:48 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-05-29 23:01:48 | command: <data><node>node_i2uf690208</node><expire-at>2023-05-30T06:01:53Z</expire-at><entry><content>content_dkz7nv0212</content></entry></data>

2023-05-29 23:01:48 | target: http://localhost:8088

2023-05-29 23:01:48 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-05-29 23:01:48 | entity: <data><node>node_i2uf690208</node><expire-at>2023-05-30T06:01:53Z</expire-at><entry><content>content_dkz7nv0212</content></entry></data>

2023-05-29 23:01:49 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Tue, 30 May 2023 06:01:48 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-05-29 23:01:49 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d1478021-7e13-4e42-b6a2-d8f7ca297b74</value></item-id></result>

2023-05-29 23:01:49 | contains: true

2023-05-29 23:01:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-05-29 23:01:57 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_dkz7nv0212]

2023-05-29 23:01:57 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_dkz7nv0212]

2023-05-29 23:01:57 | [Mutex] waiting for: [user_regularmfzkoa0207@test-domain.com:message:received:content_dkz7nv0212]

2023-05-29 23:02:12 | [Mutex] timeout. Not received [user_regularmfzkoa0207@test-domain.com:message:received:content_dkz7nv0212]

2023-05-29 23:02:12 | [Mutex] received everything.

2023-05-29 23:02:12 | [Mutex] isItemNotified: user_regularmfzkoa0207@test-domain.com:message:received:content_dkz7nv0212 :: false

2023-05-29 23:02:12 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_dkz7nv0212 :: true