Generated by TestNG with ReportNG at 15:49 PST on Friday 24 February 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.393s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.592s
2023-02-24 16:04:02 |

2023-02-24 16:04:02 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-02-24 16:04:02 | ------------------------------------

2023-02-24 16:04:02 | [Mutex] isItemNotified: node_y54etm0204:exists :: false

2023-02-24 16:04:02 | [Mutex] waiting for: [node_y54etm0204:create_node]

2023-02-24 16:04:02 | [Mutex] waiting for: [node_y54etm0204:create_node]

2023-02-24 16:04:02 | [Mutex] received everything.

2023-02-24 16:04:02 | [Mutex] isItemNotified: node_y54etm0204:create_node:success :: true

2023-02-24 16:04:02 | [Mutex] waiting for: [node_y54etm0204:subscribe_node]

2023-02-24 16:04:02 | [Mutex] waiting for: [node_y54etm0204:subscribe_node]

2023-02-24 16:04:02 | [Mutex] received everything.

2023-02-24 16:04:02 | [Mutex] isItemNotified: node_y54etm0204:subscribe_node:success :: true

2023-02-24 16:04:02 |


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


2023-02-24 16:04:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 16:04:02 | command: <data><node>node_y54etm0204</node><entry><content>content_qdj0fc0205</content></entry></data>

2023-02-24 16:04:02 | target: http://localhost:8088

2023-02-24 16:04:02 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-24 16:04:02 | entity: <data><node>node_y54etm0204</node><entry><content>content_qdj0fc0205</content></entry></data>

2023-02-24 16:04:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:04:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 16:04:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>f4db76b6-75f2-430a-b1e7-607014187ae8</value></item-id></result>

2023-02-24 16:04:02 | contains: true

2023-02-24 16:04:02 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_qdj0fc0205]

2023-02-24 16:04:02 | [Mutex] received everything.

2023-02-24 16:04:02 | [Mutex] isItemNotified: user_regularld44xu0203@test-domain.com:message:received:content_qdj0fc0205 :: true

2023-02-24 16:04:02 |


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


2023-02-24 16:04:02 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 16:04:02 | command: <data><node>node_y54etm0204</node><expire-at>2023-02-25T00:03:57Z</expire-at><entry><content>content_rxym920206</content></entry></data>

2023-02-24 16:04:02 | target: http://localhost:8088

2023-02-24 16:04:02 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-24 16:04:02 | entity: <data><node>node_y54etm0204</node><expire-at>2023-02-25T00:03:57Z</expire-at><entry><content>content_rxym920206</content></entry></data>

2023-02-24 16:04:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:04:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 16:04:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>caebf449-585e-4744-8d2d-abe7bc5730d4</value></item-id></result>

2023-02-24 16:04:02 | contains: true

2023-02-24 16:04:02 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_rxym920206]

2023-02-24 16:04:17 | [Mutex] timeout. Not received [user_regularld44xu0203@test-domain.com:message:received:content_rxym920206]

2023-02-24 16:04:17 | [Mutex] isItemNotified: user_regularld44xu0203@test-domain.com:message:received:content_rxym920206 :: false

2023-02-24 16:04:17 |


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


2023-02-24 16:04:17 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 16:04:17 | command: <data><node>node_y54etm0204</node><entry><content>content_arm3wc0207</content></entry></data>

2023-02-24 16:04:17 | target: http://localhost:8088

2023-02-24 16:04:17 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-02-24 16:04:17 | entity: <data><node>node_y54etm0204</node><entry><content>content_arm3wc0207</content></entry></data>

2023-02-24 16:04:17 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:04:17 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 16:04:17 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>c053936e-12ca-430c-b1bb-34a412798fa2</value></item-id></result>

2023-02-24 16:04:17 | contains: true

2023-02-24 16:04:22 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-02-24 16:04:22 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_arm3wc0207]

2023-02-24 16:04:22 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_arm3wc0207]

2023-02-24 16:04:22 | [Mutex] received everything.

2023-02-24 16:04:22 | [Mutex] isItemNotified: user_regularld44xu0203@test-domain.com:message:received:content_arm3wc0207 :: true

2023-02-24 16:04:22 |


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


2023-02-24 16:04:22 | [Mutex] received everything.

2023-02-24 16:04:22 | [Mutex] isItemNotified: node_y54etm0204:subscribe_node:success :: true

2023-02-24 16:04:22 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-02-24 16:04:22 | command: <data><node>node_y54etm0204</node><expire-at>2023-02-25T00:04:27Z</expire-at><entry><content>content_ce2mk20208</content></entry></data>

2023-02-24 16:04:22 | target: http://localhost:8088

2023-02-24 16:04:22 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-02-24 16:04:22 | entity: <data><node>node_y54etm0204</node><expire-at>2023-02-25T00:04:27Z</expire-at><entry><content>content_ce2mk20208</content></entry></data>

2023-02-24 16:04:22 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Feb 2023 00:04:22 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-02-24 16:04:22 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9d6e2815-4502-4f8e-b655-d893a0a1ee3a</value></item-id></result>

2023-02-24 16:04:22 | contains: true

2023-02-24 16:04:30 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2023-02-24 16:04:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2023-02-24 16:04:30 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2023-02-24 16:04:30 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_ce2mk20208]

2023-02-24 16:04:30 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_ce2mk20208]

2023-02-24 16:04:30 | [Mutex] waiting for: [user_regularld44xu0203@test-domain.com:message:received:content_ce2mk20208]

2023-02-24 16:04:45 | [Mutex] timeout. Not received [user_regularld44xu0203@test-domain.com:message:received:content_ce2mk20208]

2023-02-24 16:04:45 | [Mutex] received everything.

2023-02-24 16:04:45 | [Mutex] isItemNotified: user_regularld44xu0203@test-domain.com:message:received:content_ce2mk20208 :: false

2023-02-24 16:04:45 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_ce2mk20208 :: true