Generated by TestNG with ReportNG at 21:47 PST on Sunday 05 March 2023
root@f9c07ffec79b / 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.811s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.585s
2023-03-05 22:01:57 |

2023-03-05 22:01:57 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-05 22:01:57 | ------------------------------------

2023-03-05 22:01:57 | [Mutex] isItemNotified: node_4d651z0204:exists :: false

2023-03-05 22:01:57 | [Mutex] waiting for: [node_4d651z0204:create_node]

2023-03-05 22:01:57 | [Mutex] received everything.

2023-03-05 22:01:57 | [Mutex] isItemNotified: node_4d651z0204:create_node:success :: true

2023-03-05 22:01:57 | [Mutex] waiting for: [node_4d651z0204:subscribe_node]

2023-03-05 22:01:57 | [Mutex] waiting for: [node_4d651z0204:subscribe_node]

2023-03-05 22:01:57 | [Mutex] received everything.

2023-03-05 22:01:57 | [Mutex] isItemNotified: node_4d651z0204:subscribe_node:success :: true

2023-03-05 22:01:57 |


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


2023-03-05 22:01:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 22:01:57 | command: <data><node>node_4d651z0204</node><entry><content>content_jahyre0205</content></entry></data>

2023-03-05 22:01:57 | target: http://localhost:8088

2023-03-05 22:01:57 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-05 22:01:57 | entity: <data><node>node_4d651z0204</node><entry><content>content_jahyre0205</content></entry></data>

2023-03-05 22:01:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 06:01:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 22:01:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>fe4685c3-5f11-4124-a9f1-e0de068847c5</value></item-id></result>

2023-03-05 22:01:57 | contains: true

2023-03-05 22:01:57 | [Mutex] received everything.

2023-03-05 22:01:57 | [Mutex] isItemNotified: user_regularojweit0203@test-domain.com:message:received:content_jahyre0205 :: true

2023-03-05 22:01:57 |


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


2023-03-05 22:01:57 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 22:01:57 | command: <data><node>node_4d651z0204</node><expire-at>2023-03-06T06:01:52Z</expire-at><entry><content>content_m6yawy0206</content></entry></data>

2023-03-05 22:01:57 | target: http://localhost:8088

2023-03-05 22:01:57 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-05 22:01:57 | entity: <data><node>node_4d651z0204</node><expire-at>2023-03-06T06:01:52Z</expire-at><entry><content>content_m6yawy0206</content></entry></data>

2023-03-05 22:01:57 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 06:01:57 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 22:01:57 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>889e30e7-2663-480d-b65c-dcaa3488a655</value></item-id></result>

2023-03-05 22:01:57 | contains: true

2023-03-05 22:01:57 | [Mutex] waiting for: [user_regularojweit0203@test-domain.com:message:received:content_m6yawy0206]

2023-03-05 22:02:12 | [Mutex] timeout. Not received [user_regularojweit0203@test-domain.com:message:received:content_m6yawy0206]

2023-03-05 22:02:12 | [Mutex] isItemNotified: user_regularojweit0203@test-domain.com:message:received:content_m6yawy0206 :: false

2023-03-05 22:02:12 |


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


2023-03-05 22:02:12 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 22:02:12 | command: <data><node>node_4d651z0204</node><entry><content>content_xtap0u0207</content></entry></data>

2023-03-05 22:02:12 | target: http://localhost:8088

2023-03-05 22:02:12 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-05 22:02:12 | entity: <data><node>node_4d651z0204</node><entry><content>content_xtap0u0207</content></entry></data>

2023-03-05 22:02:12 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 06:02:12 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 22:02:12 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4298f7cd-5c71-4c68-9b91-e7c94c761604</value></item-id></result>

2023-03-05 22:02:12 | contains: true

2023-03-05 22:02:17 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-05 22:02:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2023-03-05 22:02:17 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-05 22:02:17 | [Mutex] received everything.

2023-03-05 22:02:17 | [Mutex] isItemNotified: user_regularojweit0203@test-domain.com:message:received:content_xtap0u0207 :: true

2023-03-05 22:02:17 |


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


2023-03-05 22:02:17 | [Mutex] received everything.

2023-03-05 22:02:17 | [Mutex] isItemNotified: node_4d651z0204:subscribe_node:success :: true

2023-03-05 22:02:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-05 22:02:17 | command: <data><node>node_4d651z0204</node><expire-at>2023-03-06T06:02:22Z</expire-at><entry><content>content_5vwsn40208</content></entry></data>

2023-03-05 22:02:17 | target: http://localhost:8088

2023-03-05 22:02:17 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-05 22:02:17 | entity: <data><node>node_4d651z0204</node><expire-at>2023-03-06T06:02:22Z</expire-at><entry><content>content_5vwsn40208</content></entry></data>

2023-03-05 22:02:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Mon, 06 Mar 2023 06:02:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-05 22:02:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>d9047283-106f-440c-aa7a-977d225b966b</value></item-id></result>

2023-03-05 22:02:17 | contains: true

2023-03-05 22:02:25 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-03-05 22:02:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-03-05 22:02:25 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-03-05 22:02:26 | [Mutex] waiting for: [user_regularojweit0203@test-domain.com:message:received:content_5vwsn40208]

2023-03-05 22:02:41 | [Mutex] timeout. Not received [user_regularojweit0203@test-domain.com:message:received:content_5vwsn40208]

2023-03-05 22:02:41 | [Mutex] received everything.

2023-03-05 22:02:41 | [Mutex] isItemNotified: user_regularojweit0203@test-domain.com:message:received:content_5vwsn40208 :: false

2023-03-05 22:02:41 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_5vwsn40208 :: true