Generated by TestNG with ReportNG at 07:05 PDT on Friday 26 August 2022
root@ed1b7dd8a1b3 / 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.485s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.496s
2022-08-26 07:20:46 |

2022-08-26 07:20:46 | null / [TestClass name=class tigase.tests.pubsub.TestRestApiWithMessageExpiration]

2022-08-26 07:20:46 | ------------------------------------

2022-08-26 07:20:46 | [Mutex] isItemNotified: node_21cima0204:exists :: false

2022-08-26 07:20:46 | [Mutex] waiting for: [node_21cima0204:create_node]

2022-08-26 07:20:46 | [Mutex] received everything.

2022-08-26 07:20:46 | [Mutex] isItemNotified: node_21cima0204:create_node:success :: true

2022-08-26 07:20:46 | [Mutex] waiting for: [node_21cima0204:subscribe_node]

2022-08-26 07:20:46 | [Mutex] waiting for: [node_21cima0204:subscribe_node]

2022-08-26 07:20:46 | [Mutex] received everything.

2022-08-26 07:20:46 | [Mutex] isItemNotified: node_21cima0204:subscribe_node:success :: true

2022-08-26 07:20:46 |


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


2022-08-26 07:20:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:20:46 | command: <data><node>node_21cima0204</node><entry><content>content_cjsbev0205</content></entry></data>

2022-08-26 07:20:46 | target: http://localhost:8088

2022-08-26 07:20:46 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-26 07:20:46 | entity: <data><node>node_21cima0204</node><entry><content>content_cjsbev0205</content></entry></data>

2022-08-26 07:20:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:20:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:20:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>aaf527f1-f1db-4a98-9c27-80917128d97a</value></item-id></result>

2022-08-26 07:20:46 | contains: true

2022-08-26 07:20:46 | [Mutex] received everything.

2022-08-26 07:20:46 | [Mutex] isItemNotified: user_regularyle51n0203@test-domain.com:message:received:content_cjsbev0205 :: true

2022-08-26 07:20:46 |


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


2022-08-26 07:20:46 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:20:46 | command: <data><node>node_21cima0204</node><expire-at>2022-08-26T14:20:41Z</expire-at><entry><content>content_sicguo0206</content></entry></data>

2022-08-26 07:20:46 | target: http://localhost:8088

2022-08-26 07:20:46 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-26 07:20:46 | entity: <data><node>node_21cima0204</node><expire-at>2022-08-26T14:20:41Z</expire-at><entry><content>content_sicguo0206</content></entry></data>

2022-08-26 07:20:46 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:20:46 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:20:46 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>4334a221-3cec-4641-8b2c-3043707f04ea</value></item-id></result>

2022-08-26 07:20:46 | contains: true

2022-08-26 07:20:46 | [Mutex] waiting for: [user_regularyle51n0203@test-domain.com:message:received:content_sicguo0206]

2022-08-26 07:21:01 | [Mutex] timeout. Not received [user_regularyle51n0203@test-domain.com:message:received:content_sicguo0206]

2022-08-26 07:21:01 | [Mutex] isItemNotified: user_regularyle51n0203@test-domain.com:message:received:content_sicguo0206 :: false

2022-08-26 07:21:01 |


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


2022-08-26 07:21:01 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:21:01 | command: <data><node>node_21cima0204</node><entry><content>content_m553pm0207</content></entry></data>

2022-08-26 07:21:01 | target: http://localhost:8088

2022-08-26 07:21:01 | entity: [Content-Type: application/xml,Content-Length: 93,Chunked: false]

2022-08-26 07:21:01 | entity: <data><node>node_21cima0204</node><entry><content>content_m553pm0207</content></entry></data>

2022-08-26 07:21:01 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:21:01 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:21:01 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>a69a44c9-330b-4d93-bb41-6cfdbd0800c9</value></item-id></result>

2022-08-26 07:21:01 | contains: true

2022-08-26 07:21:06 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-26 07:21:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] DNS entry stored in session object: localhost:5222

2022-08-26 07:21:06 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=480 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-26 07:21:06 | [Mutex] waiting for: [user_regularyle51n0203@test-domain.com:message:received:content_m553pm0207]

2022-08-26 07:21:06 | [Mutex] received everything.

2022-08-26 07:21:06 | [Mutex] isItemNotified: user_regularyle51n0203@test-domain.com:message:received:content_m553pm0207 :: true

2022-08-26 07:21:06 |


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


2022-08-26 07:21:06 | [Mutex] received everything.

2022-08-26 07:21:06 | [Mutex] isItemNotified: node_21cima0204:subscribe_node:success :: true

2022-08-26 07:21:06 | postRequest: POST /rest/pubsub/pubsub.test-domain.com/publish-item HTTP/1.1

2022-08-26 07:21:06 | command: <data><node>node_21cima0204</node><expire-at>2022-08-26T14:21:11Z</expire-at><entry><content>content_bcfdhu0208</content></entry></data>

2022-08-26 07:21:06 | target: http://localhost:8088

2022-08-26 07:21:06 | entity: [Content-Type: application/xml,Content-Length: 136,Chunked: false]

2022-08-26 07:21:06 | entity: <data><node>node_21cima0204</node><expire-at>2022-08-26T14:21:11Z</expire-at><entry><content>content_bcfdhu0208</content></entry></data>

2022-08-26 07:21:06 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Fri, 26 Aug 2022 14:21:06 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2022-08-26 07:21:06 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id type="fixed" label="Item ID"><value>49796f1b-1d16-47d2-85fe-0cb2971dd54b</value></item-id></result>

2022-08-26 07:21:06 | contains: true

2022-08-26 07:21:14 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

2022-08-26 07:21:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] DNS entry stored in session object: localhost:5222

2022-08-26 07:21:14 | tigase.jaxmpp.j2se.connectors.socket.SocketConnector.printLog: [scid=481 thread=1] Opening connection to localhost/127.0.0.1:5222

2022-08-26 07:21:14 | [Mutex] waiting for: [user_regularyle51n0203@test-domain.com:message:received:content_bcfdhu0208]

2022-08-26 07:21:29 | [Mutex] timeout. Not received [user_regularyle51n0203@test-domain.com:message:received:content_bcfdhu0208]

2022-08-26 07:21:29 | [Mutex] received everything.

2022-08-26 07:21:29 | [Mutex] isItemNotified: user_regularyle51n0203@test-domain.com:message:received:content_bcfdhu0208 :: false

2022-08-26 07:21:29 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_bcfdhu0208 :: true