Generated by TestNG with ReportNG at 22:47 PDT on Saturday 18 March 2023
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.860s

Passed Tests
tigase.tests.pubsub.TestRestApiWithMessageExpiration
testMessageExpiration 43.667s
2023-03-18 23:01:49 |

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

2023-03-18 23:01:49 | ------------------------------------

2023-03-18 23:01:49 | [Mutex] isItemNotified: node_7ibnoj0208:exists :: false

2023-03-18 23:01:49 | [Mutex] waiting for: [node_7ibnoj0208:create_node]

2023-03-18 23:01:49 | [Mutex] received everything.

2023-03-18 23:01:49 | [Mutex] isItemNotified: node_7ibnoj0208:create_node:success :: true

2023-03-18 23:01:49 | [Mutex] waiting for: [node_7ibnoj0208:subscribe_node]

2023-03-18 23:01:49 | [Mutex] waiting for: [node_7ibnoj0208:subscribe_node]

2023-03-18 23:01:49 | [Mutex] received everything.

2023-03-18 23:01:49 | [Mutex] isItemNotified: node_7ibnoj0208:subscribe_node:success :: true

2023-03-18 23:01:49 |


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


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

2023-03-18 23:01:49 | command: <data><node>node_7ibnoj0208</node><entry><content>content_c8vmar0209</content></entry></data>

2023-03-18 23:01:49 | target: http://localhost:8088

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

2023-03-18 23:01:49 | entity: <data><node>node_7ibnoj0208</node><entry><content>content_c8vmar0209</content></entry></data>

2023-03-18 23:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 06:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>9c077625-3a25-402f-a58e-7f39749bd149</value></item-id></result>

2023-03-18 23:01:50 | contains: true

2023-03-18 23:01:50 | [Mutex] received everything.

2023-03-18 23:01:50 | [Mutex] isItemNotified: user_regularqn8n8v0207@test-domain.com:message:received:content_c8vmar0209 :: true

2023-03-18 23:01:50 |


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


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

2023-03-18 23:01:50 | command: <data><node>node_7ibnoj0208</node><expire-at>2023-03-19T06:01:45Z</expire-at><entry><content>content_c1m7tv0210</content></entry></data>

2023-03-18 23:01:50 | target: http://localhost:8088

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

2023-03-18 23:01:50 | entity: <data><node>node_7ibnoj0208</node><expire-at>2023-03-19T06:01:45Z</expire-at><entry><content>content_c1m7tv0210</content></entry></data>

2023-03-18 23:01:50 | response: HttpResponseProxy{HTTP/1.1 200 OK [Date: Sun, 19 Mar 2023 06:01:50 GMT, Transfer-encoding: chunked] ResponseEntityProxy{[Chunked: true]}}

2023-03-18 23:01:50 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>2230296e-794e-443c-802e-c514b237208a</value></item-id></result>

2023-03-18 23:01:50 | contains: true

2023-03-18 23:01:50 | [Mutex] waiting for: [user_regularqn8n8v0207@test-domain.com:message:received:content_c1m7tv0210]

2023-03-18 23:02:05 | [Mutex] timeout. Not received [user_regularqn8n8v0207@test-domain.com:message:received:content_c1m7tv0210]

2023-03-18 23:02:05 | [Mutex] isItemNotified: user_regularqn8n8v0207@test-domain.com:message:received:content_c1m7tv0210 :: false

2023-03-18 23:02:05 |


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


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

2023-03-18 23:02:05 | command: <data><node>node_7ibnoj0208</node><entry><content>content_ri34yp0211</content></entry></data>

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

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

2023-03-18 23:02:05 | entity: <data><node>node_7ibnoj0208</node><entry><content>content_ri34yp0211</content></entry></data>

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

2023-03-18 23:02:05 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>1918df62-dc06-41f2-9349-24fbecec1d02</value></item-id></result>

2023-03-18 23:02:05 | contains: true

2023-03-18 23:02:10 | tigase.jaxmpp.j2se.Jaxmpp.createConnector: Using SocketConnector

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

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

2023-03-18 23:02:10 | [Mutex] waiting for: [user_regularqn8n8v0207@test-domain.com:message:received:content_ri34yp0211]

2023-03-18 23:02:10 | [Mutex] waiting for: [user_regularqn8n8v0207@test-domain.com:message:received:content_ri34yp0211]

2023-03-18 23:02:10 | [Mutex] received everything.

2023-03-18 23:02:10 | [Mutex] isItemNotified: user_regularqn8n8v0207@test-domain.com:message:received:content_ri34yp0211 :: true

2023-03-18 23:02:10 |


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


2023-03-18 23:02:10 | [Mutex] received everything.

2023-03-18 23:02:10 | [Mutex] isItemNotified: node_7ibnoj0208:subscribe_node:success :: true

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

2023-03-18 23:02:10 | command: <data><node>node_7ibnoj0208</node><expire-at>2023-03-19T06:02:15Z</expire-at><entry><content>content_tkfi9a0212</content></entry></data>

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

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

2023-03-18 23:02:10 | entity: <data><node>node_7ibnoj0208</node><expire-at>2023-03-19T06:02:15Z</expire-at><entry><content>content_tkfi9a0212</content></entry></data>

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

2023-03-18 23:02:10 | response entity: <result><Note type="fixed"><value>Operation successful</value></Note><item-id label="Item ID" type="fixed"><value>b3915fe7-57a9-4fe5-a59a-db1d655f89c7</value></item-id></result>

2023-03-18 23:02:10 | contains: true

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

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

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

2023-03-18 23:02:18 | [Mutex] waiting for: [user_regularqn8n8v0207@test-domain.com:message:received:content_tkfi9a0212]

2023-03-18 23:02:18 | [Mutex] waiting for: [user_regularqn8n8v0207@test-domain.com:message:received:content_tkfi9a0212]

2023-03-18 23:02:18 | [Mutex] waiting for: [user_regularqn8n8v0207@test-domain.com:message:received:content_tkfi9a0212]

2023-03-18 23:02:33 | [Mutex] timeout. Not received [user_regularqn8n8v0207@test-domain.com:message:received:content_tkfi9a0212]

2023-03-18 23:02:33 | [Mutex] received everything.

2023-03-18 23:02:33 | [Mutex] isItemNotified: user_regularqn8n8v0207@test-domain.com:message:received:content_tkfi9a0212 :: false

2023-03-18 23:02:33 | [Mutex] isItemNotified: admin@test-domain.com:message:received:content_tkfi9a0212 :: true