Generated by TestNG with ReportNG at 22:47 PDT on Friday 24 March 2023
root@7c41cec37518 / 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.690s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.536s
2023-03-24 23:01:47 |

2023-03-24 23:01:47 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2023-03-24 23:01:47 | ------------------------------------

2023-03-24 23:01:47 | [Mutex] isItemNotified: node_yw8h4q0208:exists :: false

2023-03-24 23:01:47 | [Mutex] waiting for: [node_yw8h4q0208:create_node]

2023-03-24 23:01:47 | [Mutex] received everything.

2023-03-24 23:01:47 | [Mutex] isItemNotified: node_yw8h4q0208:create_node:success :: true

2023-03-24 23:01:47 | [Mutex] waiting for: [node_yw8h4q0208:subscribe_node]

2023-03-24 23:01:47 | [Mutex] waiting for: [node_yw8h4q0208:subscribe_node]

2023-03-24 23:01:47 | [Mutex] received everything.

2023-03-24 23:01:47 | [Mutex] isItemNotified: node_yw8h4q0208:subscribe_node:success :: true

2023-03-24 23:01:47 |


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


2023-03-24 23:01:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:01:47 | command: <data><node>node_yw8h4q0208</node><entry><content>content_7nnyqn0209</content></entry></data>

2023-03-24 23:01:47 | target: http://localhost:8088

2023-03-24 23:01:47 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2023-03-24 23:01:47 | entity: <data><node>node_yw8h4q0208</node><entry><content>content_7nnyqn0209</content></entry></data>

2023-03-24 23:01:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:01:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:01:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>9c11b261-24f9-4f62-932a-da12486c5a45</value></item-id></result>

2023-03-24 23:01:47 | contains: true

2023-03-24 23:01:47 | [Mutex] received everything.

2023-03-24 23:01:47 | [Mutex] isItemNotified: user_regularw34o5b0207@test-domain.com:message:received:content_7nnyqn0209 :: true

2023-03-24 23:01:47 |


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


2023-03-24 23:01:47 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:01:47 | command: <data><node>node_yw8h4q0208</node><expire-at>2023-03-25T06:01:42Z</expire-at><entry><content>content_rtoo3j0210</content></entry></data>

2023-03-24 23:01:47 | target: http://localhost:8088

2023-03-24 23:01:47 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-24 23:01:47 | entity: <data><node>node_yw8h4q0208</node><expire-at>2023-03-25T06:01:42Z</expire-at><entry><content>content_rtoo3j0210</content></entry></data>

2023-03-24 23:01:47 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:01:47 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:01:47 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>e359a115-f4ad-4ac2-a94a-cb23a1ed3b3e</value></item-id></result>

2023-03-24 23:01:47 | contains: true

2023-03-24 23:01:47 | [Mutex] waiting for: [user_regularw34o5b0207@test-domain.com:message:received:content_rtoo3j0210]

2023-03-24 23:02:02 | [Mutex] timeout. Not received [user_regularw34o5b0207@test-domain.com:message:received:content_rtoo3j0210]

2023-03-24 23:02:02 | [Mutex] isItemNotified: user_regularw34o5b0207@test-domain.com:message:received:content_rtoo3j0210 :: false

2023-03-24 23:02:02 |


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


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

2023-03-24 23:02:02 | command: <data><node>node_yw8h4q0208</node><entry><content>content_6u712x0211</content></entry></data>

2023-03-24 23:02:02 | target: http://localhost:8088

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

2023-03-24 23:02:02 | entity: <data><node>node_yw8h4q0208</node><entry><content>content_6u712x0211</content></entry></data>

2023-03-24 23:02:02 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:02:02 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:02:02 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>90f8bc76-dc1f-40f5-b81d-17b765fcb600</value></item-id></result>

2023-03-24 23:02:02 | contains: true

2023-03-24 23:02:07 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-24 23:02:07 | [Mutex] waiting for: [user_regularw34o5b0207@test-domain.com:message:received:content_6u712x0211]

2023-03-24 23:02:07 | [Mutex] received everything.

2023-03-24 23:02:07 | [Mutex] isItemNotified: user_regularw34o5b0207@test-domain.com:message:received:content_6u712x0211 :: true

2023-03-24 23:02:07 |


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


2023-03-24 23:02:07 | [Mutex] received everything.

2023-03-24 23:02:07 | [Mutex] isItemNotified: node_yw8h4q0208:subscribe_node:success :: true

2023-03-24 23:02:07 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2023-03-24 23:02:07 | command: <data><node>node_yw8h4q0208</node><expire-at>2023-03-25T06:02:12Z</expire-at><entry><content>content_bkx0dt0212</content></entry></data>

2023-03-24 23:02:07 | target: http://localhost:8088

2023-03-24 23:02:07 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2023-03-24 23:02:07 | entity: <data><node>node_yw8h4q0208</node><expire-at>2023-03-25T06:02:12Z</expire-at><entry><content>content_bkx0dt0212</content></entry></data>

2023-03-24 23:02:07 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sat, 25 Mar 2023 06:02:07 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-24 23:02:07 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>18728a5b-371d-4c5f-90f2-db4e5d175c12</value></item-id></result>

2023-03-24 23:02:07 | contains: true

2023-03-24 23:02:15 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-24 23:02:15 | [Mutex] waiting for: [user_regularw34o5b0207@test-domain.com:message:received:content_bkx0dt0212]

2023-03-24 23:02:15 | [Mutex] waiting for: [user_regularw34o5b0207@test-domain.com:message:received:content_bkx0dt0212]

2023-03-24 23:02:30 | [Mutex] timeout. Not received [user_regularw34o5b0207@test-domain.com:message:received:content_bkx0dt0212]

2023-03-24 23:02:30 | [Mutex] received everything.

2023-03-24 23:02:30 | [Mutex] isItemNotified: user_regularw34o5b0207@test-domain.com:message:received:content_bkx0dt0212 :: false

2023-03-24 23:02:30 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bkx0dt0212 :: true