Generated by TestNG with ReportNG at 22:16 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.917s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.660s
2023-07-31 22:31:37 |

2023-07-31 22:31:37 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-07-31 22:31:37 | ------------------------------------

2023-07-31 22:31:37 | [Mutex] isItemNotified: node_erko6x0208:exists :: false

2023-07-31 22:31:37 | [Mutex] waiting for: [node_erko6x0208:create_node]

2023-07-31 22:31:37 | [Mutex] waiting for: [node_erko6x0208:create_node]

2023-07-31 22:31:37 | [Mutex] received everything.

2023-07-31 22:31:37 | [Mutex] isItemNotified: node_erko6x0208:create_node:success :: true

2023-07-31 22:31:37 | [Mutex] waiting for: [node_erko6x0208:subscribe_node]

2023-07-31 22:31:37 | [Mutex] waiting for: [node_erko6x0208:subscribe_node]

2023-07-31 22:31:37 | [Mutex] received everything.

2023-07-31 22:31:37 | [Mutex] isItemNotified: node_erko6x0208:subscribe_node:success :: true

2023-07-31 22:31:37 |


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


2023-07-31 22:31:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:37 | command: <data><node>node_erko6x0208</node><entry><content>content_c3hiza0209</content></entry></data>

2023-07-31 22:31:37 | target: http://localhost:8088

2023-07-31 22:31:37 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-31 22:31:37 | entity: <data><node>node_erko6x0208</node><entry><content>content_c3hiza0209</content></entry></data>

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

2023-07-31 22:31:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>1750fa40-17db-4478-9178-56ef49248743</value></item-id></result>

2023-07-31 22:31:37 | contains: true

2023-07-31 22:31:37 | [Mutex] waiting for: [user_regular5azhe10207@test-domain.com:message:received:content_c3hiza0209]

2023-07-31 22:31:37 | [Mutex] received everything.

2023-07-31 22:31:37 | [Mutex] isItemNotified: user_regular5azhe10207@test-domain.com:message:received:content_c3hiza0209 :: true

2023-07-31 22:31:37 |


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


2023-07-31 22:31:37 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:37 | command: <data><node>node_erko6x0208</node><expire-at>2023-08-01T05:31:32Z</expire-at><entry><content>content_r768gy0210</content></entry></data>

2023-07-31 22:31:37 | target: http://localhost:8088

2023-07-31 22:31:37 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-31 22:31:37 | entity: <data><node>node_erko6x0208</node><expire-at>2023-08-01T05:31:32Z</expire-at><entry><content>content_r768gy0210</content></entry></data>

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

2023-07-31 22:31:37 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>121aa879-397e-455c-bdc9-16dc3958925d</value></item-id></result>

2023-07-31 22:31:37 | contains: true

2023-07-31 22:31:37 | [Mutex] waiting for: [user_regular5azhe10207@test-domain.com:message:received:content_r768gy0210]

2023-07-31 22:31:52 | [Mutex] timeout. Not received [user_regular5azhe10207@test-domain.com:message:received:content_r768gy0210]

2023-07-31 22:31:52 | [Mutex] isItemNotified: user_regular5azhe10207@test-domain.com:message:received:content_r768gy0210 :: false

2023-07-31 22:31:52 |


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


2023-07-31 22:31:52 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:52 | command: <data><node>node_erko6x0208</node><entry><content>content_982rp10211</content></entry></data>

2023-07-31 22:31:52 | target: http://localhost:8088

2023-07-31 22:31:52 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-07-31 22:31:52 | entity: <data><node>node_erko6x0208</node><entry><content>content_982rp10211</content></entry></data>

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

2023-07-31 22:31:52 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>2ed93a06-c611-4635-9d28-b3bc51cb29c4</value></item-id></result>

2023-07-31 22:31:52 | contains: true

2023-07-31 22:31:57 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-31 22:31:58 | [Mutex] waiting for: [user_regular5azhe10207@test-domain.com:message:received:content_982rp10211]

2023-07-31 22:31:58 | [Mutex] received everything.

2023-07-31 22:31:58 | [Mutex] isItemNotified: user_regular5azhe10207@test-domain.com:message:received:content_982rp10211 :: true

2023-07-31 22:31:58 |


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


2023-07-31 22:31:58 | [Mutex] received everything.

2023-07-31 22:31:58 | [Mutex] isItemNotified: node_erko6x0208:subscribe_node:success :: true

2023-07-31 22:31:58 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-07-31 22:31:58 | command: <data><node>node_erko6x0208</node><expire-at>2023-08-01T05:32:03Z</expire-at><entry><content>content_d48si00212</content></entry></data>

2023-07-31 22:31:58 | target: http://localhost:8088

2023-07-31 22:31:58 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-07-31 22:31:58 | entity: <data><node>node_erko6x0208</node><expire-at>2023-08-01T05:32:03Z</expire-at><entry><content>content_d48si00212</content></entry></data>

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

2023-07-31 22:31:58 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>8cd99ff7-3d7e-4630-a951-e77ba9e473cb</value></item-id></result>

2023-07-31 22:31:58 | contains: true

2023-07-31 22:32:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-07-31 22:32:06 | [Mutex] waiting for: [user_regular5azhe10207@test-domain.com:message:received:content_d48si00212]

2023-07-31 22:32:06 | [Mutex] waiting for: [user_regular5azhe10207@test-domain.com:message:received:content_d48si00212]

2023-07-31 22:32:21 | [Mutex] timeout. Not received [user_regular5azhe10207@test-domain.com:message:received:content_d48si00212]

2023-07-31 22:32:21 | [Mutex] received everything.

2023-07-31 22:32:21 | [Mutex] isItemNotified: user_regular5azhe10207@test-domain.com:message:received:content_d48si00212 :: false

2023-07-31 22:32:21 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_d48si00212 :: true